Build your first React form

React Fundamentals. Components, props, state, effects, lists and forms for people who already know JavaScript.

11 lessons · 44 min of video · 9 quiz questions

ReactJS Tutorial - 4 - Components, by Codevolution

Try a question from this course

Where may you call useState?

What you'll be able to do

  • Split a UI into components and pass data with props and children
  • Decide whether a value should be props or state
  • Use useState and useEffect correctly
  • Render lists with keys and build a controlled form

What's in it

  1. Components and props

    What a component is, how data flows into one, and how components wrap other components.

    1. What a component is
    2. Props and state: who owns the data?
    3. Wrapping components with children
    4. Recap
  2. State and effects

    Making components change: class state for context, then useState and useEffect.

    1. State in a class component (for reading older code)
    2. useState in function components
    3. useEffect: running code after render
    4. Recap
  3. Lists and forms

    Rendering arrays and handling user input with controlled forms.

    1. Controlled forms with one state object
    2. Lists with map, keys, and resetting a form
    3. Recap

Made from these videos

More courses