Skip to content

React.js / Advanced · No sign-in needed · Pilot

React Advanced in 7 Days

Design components other people can use, manage state outside React, load data with Suspense, measure and fix performance, build accessible widgets, and test it all. You finish with a Study Hub that brings every day together.

Start your first lesson →

Before you start

This course assumes React Intermediate, or the same skills: reducers, context with custom hooks, refs, custom hooks, memo and transitions, form actions, error boundaries, and tests with Vitest and React Testing Library.

Plan around 60–100 minutes a day. Each day has four lessons and an independent checkpoint. Day 6 and part of Day 7 run on your own computer, with Node.js and a code editor.

Pilot: all seven days are written, and the pacing is still being tested with learners. If something is unclear, please report it.

Day 1 · About 95 minutes

Component APIs

Design components other people can use: compound components, controlled and uncontrolled props, and imperative handles.

  1. Compound Components20 min · Read, predict and practice
  2. Controlled and Uncontrolled Props20 min · Read, predict and practice
  3. Render Props and Slots15 min · Read, predict and practice
  4. Imperative Handles20 min · Read, predict and practice
  5. Checkpoint: An Accordion API20 min · Independent checkpoint

Day 2 · About 95 minutes

External Stores & State Machines

Share state outside React with useSyncExternalStore, and model flows as explicit state machines.

  1. External Stores20 min · Read, predict and practice
  2. Selectors20 min · Read, predict and practice
  3. The Browser as a Store15 min · Read, predict and practice
  4. State Machines20 min · Read, predict and practice
  5. Checkpoint: A Pomodoro Store20 min · Independent checkpoint

Day 3 · About 95 minutes

Suspense & Data

Load data with Suspense and use, cache requests, and split code with lazy.

  1. use and Suspense20 min · Read, predict and practice
  2. A Request Cache20 min · Read, predict and practice
  3. Transitions and Suspense20 min · Read, predict and practice
  4. Loading Code on Demand15 min · Read, predict and practice
  5. Checkpoint: A Topic Explorer20 min · Independent checkpoint

Day 4 · About 95 minutes

Performance in Depth

Measure before optimising, then fix slow screens by moving state, windowing long lists and keeping hidden UI alive.

  1. Measure First20 min · Read, predict and practice
  2. Move State Down20 min · Read, predict and practice
  3. Long Lists20 min · Read, predict and practice
  4. Keeping Hidden UI Alive15 min · Read, predict and practice
  5. Checkpoint: Make It Fast20 min · Independent checkpoint

Day 5 · About 95 minutes

Accessible Widgets

Build a dialog, a combobox and keyboard navigation that work with a keyboard and a screen reader.

  1. Dialogs20 min · Read, predict and practice
  2. Arrow Keys and Roving Focus20 min · Read, predict and practice
  3. A Combobox20 min · Read, predict and practice
  4. Announcing Changes15 min · Read, predict and practice
  5. Checkpoint: A Command Palette20 min · Independent checkpoint

Day 6 · About 95 minutes

Testing Strategy

Decide what to test at each level, and test hooks, async UI and code that talks to a server.

  1. What to Test15 min · Read, predict and practice
  2. Testing Hooks20 min · Read, predict and practice
  3. Testing Async UI20 min · Read, predict and practice
  4. Mocking the Server20 min · Read, predict and practice
  5. Checkpoint: Test the Combobox20 min · Independent checkpoint

Day 7 · About 85 minutes

The Study Hub

Run, test and extend an app built from every day's ideas, then build one of your own.

  1. The Study Hub20 min · Read, predict and practice
  2. Project Tests20 min · Read, predict and practice
  3. Extend It20 min · Read, predict and practice
  4. On Your Own: Flashcard Drill25 min · Independent checkpoint
  5. Come Back Later20 min · Return in a few days · extra practice