Skip to content

Master React, Quick Code tutorial. Part 9 #10

@atherdon

Description

@atherdon

https://medium.com/quick-code/how-to-learn-react-9-the-one-thing-you-need-to-know-about-props-and-state-a3f20b16da00

Expected result

  • Read this tutorial chapter
  • follow code steps
  • move your code to this repository(at least one commit per day)
  • explain to me, what did you learn from it in a few sentences(not less than 5)
  • pass the test section
  • after reviewing your progress and closing this issue - you can move to the next chapter.

Test

  • Google and learn about constructor and super() function. Tell me what you've learned about it.
  • With our extended form, I think this test wouldn't be a hard thing for you. So, create an array(at the separated file) with data, for a few meals. at least 3-4.
    Then we'll create some sort of meals editing.
    display meals at the list. and each meal should have an edit button(pass meal id there).
    when a user clicks on edit button - you should display a form(it should be hidden before).
    And by using knowledge of this chapter - fill form fields with values your meals array.
    So you'll have one form, and each time, by picking an id - you'll grab one element from meals array - and display that data.

#1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions