Coder Social home page Coder Social logo

fullstack-hy2019.github.io's Introduction

fullstack-hy2019.github.io's People

Contributors

cxcorp avatar erkkapyy avatar etsku520 avatar granigan avatar jonitaajamo avatar josalmi avatar juhq avatar luftare avatar marklaatikainen avatar markokoskinen2037 avatar mluukkai avatar mremes avatar niinasaarelainen avatar nykanenj avatar otsha avatar qzuw avatar skaipio avatar veliblesku avatar vikketii avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fullstack-hy2019.github.io's Issues

Possibly old class based code in part 6

In part 6, exercise 6.9, there is the following text which looks suspiciously like old class based code:

Sovelluksessa on valmiina komponentin Notification runko:
class Notification extends React.Component {
  render() {

Also later there is this:

class NewNote extends React.Component {

Part 3 instructions a little unclear

So in part 3, when building the backend for the phone number app, the instructions (3.1) tell us to have the api serve a hardcoded list of names and phone numbers. It would make sense that this hardcoded list is not meant to be modified despite the tasks in 3.4 and 3.5 are to implement DELETE and POST endpoints respectively.

This is all fine and well, but the bigger confusion comes in the next chapter when in task 3.9 we are told to make the backend work together with the frontend. How is this supposed to be possible when POST requests don't actually add anything to the data on the server and DELETE requests don't remove anything?

Perhaps I missed something in the instructions, but could you clarify how exactly this is supposed to be done (prior to implementing any database integration)? Thanks.

Exercise 6.9 shows an old code snippet of Notification.js

Should be:

import React from 'react';

const Notification = () => {
  const style = {
    border: 'solid',
    padding: 10,
    borderWidth: 1
  }
  return (
    <div style={style}>
      render here notification...
    </div>
  )
}

export default Notification

Bug: Associated functions for click event of the Button component do not work [Part 1c]

See the last code snippet in

Most likely they should be changed from

handleClick={() => setToValue(counter + 1)}
handleClick={() => setToValue(0)}

to

handleClick={setToValue(counter + 1)}
handleClick={setToValue(0)}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.