ReactGroundworkReact

Step 2 of 2 · your path

React, Beginner

Start with a component on the page. JSX, props, state and the handful of hooks that cover almost everything you'll build before anything else matters.

Your progress

0 / 11 done

Up next

Setup & JSX

5 min read · 2 exercises

The order I'd read them in

About 46 min of reading. Tick off what you've read, it is remembered on this device.

  1. Project setup & JSXJSX is not HTML and it is not a template language — it is a function call wearing a costume.
    5 min read2 exercises
    2 exercises
  2. Thinking in ReactTurning a picture into a component tree — the step that happens before you type anything.
    3 min read3 exercises
    3 exercises
  3. Components & compositionA component is a function that takes data and returns a description of a screen.
    4 min read3 exercises
    3 exercises
  4. PropsData flows down. A component can read its props and must never write to them.
    4 min read3 exercises
    3 exercises
  5. Lifting state up & basic stylingWhen two components need the same value, it belongs to the one above both of them.
    5 min read2 exercises
    2 exercises

Practice at this level

Every exercise opens in the editor with tests you can run.