React foundations: components, state and hooks

8 steps · about 3 h 10 min · Beginner

  1. Think in components (tutorial, React, 20 min)

    Learn the basic unit of a React interface and how components compose.

  2. Write markup with JSX (tutorial, React, 25 min)

    Translate familiar HTML ideas into React's JavaScript syntax.

  3. Pass data with props (tutorial, React, 20 min)

    Send values from parent components into reusable child components.

  4. Render conditionally (tutorial, React, 20 min)

    Choose interface branches from application state.

  5. Render collections (tutorial, React, 25 min)

    Turn arrays into stable keyed interface elements.

  6. Respond to user events (tutorial, React, 20 min)

    Connect buttons and inputs to event handlers.

  7. Add component state (tutorial, React, 30 min)

    Store changing interface data with state hooks.

  8. Share state (tutorial, React, 30 min)

    Choose one owner for state that multiple components coordinate.