Module · Beginner · 1h 15m
Module 1: Components and state
The two ideas that carry the framework: components as functions of props, and state that lives as low as it can.
- react
- module
Inside this module
- Compose an interface from small components
- Place state at the right level
Lessons
- 01Components as functions
Lesson · 25 min · A component takes props and returns markup; everything else follows from keeping that true.
- 02Where state lives
Lesson · 25 min · Choosing the component that owns a piece of state, and lifting it only when two components need it.
- 03Effects are for synchronisation
Lesson · 25 min · Why most effects are unnecessary, and the few cases where they are right.

