Skip to content

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

React Intermediate in 7 Days

Structure state so it can't contradict itself, move complex updates into reducers, share data with context, and keep the interface fast. A Study Board grows all week, and you finish by testing it on your own computer.

Start your first lesson →

Before you start

This course assumes React Beginner, or the same skills: components in separate files, props and children, useState, lists with keys, controlled forms, lifting state up, and effects with cleanup.

Plan around 60–100 minutes a day. Each day has four lessons and an independent checkpoint. Day 7 is longer, about two and a half hours, because its final app takes 75–90 minutes on its own: split it over two sittings. The labs get bigger than in the beginner course, so read the files before you run them, and change one thing at a time.

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

Structuring State

Split a screen into components and choose state with no duplicates or contradictions.

  1. Thinking in React20 min · Read, predict and practice
  2. Choosing State Structure20 min · Read, predict and practice
  3. Derived Values15 min · Read, predict and practice
  4. Keeping and Resetting State20 min · Read, predict and practice
  5. Checkpoint: Study Board v120 min · Independent checkpoint

Day 2 · About 100 minutes

Reducers

Move complex updates into a reducer and test it as a plain function.

  1. From useState to useReducer20 min · Read, predict and practice
  2. Writing Reducers Well20 min · Read, predict and practice
  3. Testing Reducers20 min · Read, predict and practice
  4. Undo and Redo20 min · Read, predict and practice
  5. Checkpoint: A Tested Flashcard Reducer20 min · Independent checkpoint

Day 3 · About 95 minutes

Context

Share state deep in the tree without passing props through every level.

  1. Passing Data Deeply with Context20 min · Read, predict and practice
  2. Context with a Reducer20 min · Read, predict and practice
  3. Context Pitfalls20 min · Read, predict and practice
  4. Composition Before Context15 min · Read, predict and practice
  5. Checkpoint: Board Preferences20 min · Independent checkpoint

Day 4 · About 95 minutes

Refs & the DOM

Keep values outside rendering, and manage focus and scrolling with refs.

  1. Refs: Values That Don't Re-render20 min · Read, predict and practice
  2. Refs to DOM Elements20 min · Read, predict and practice
  3. Refs to Many Elements20 min · Read, predict and practice
  4. useId and Accessible Fields15 min · Read, predict and practice
  5. Checkpoint: A Keyboard-Friendly Add Form20 min · Independent checkpoint

Day 5 · About 105 minutes

Custom Hooks & Effects

Extract reusable logic into hooks, and use effects only to sync with the outside world.

  1. Custom Hooks20 min · Read, predict and practice
  2. You Might Not Need an Effect20 min · Read, predict and practice
  3. Hooks for Searching and Loading20 min · Read, predict and practice
  4. Effect Events15 min · Read, predict and practice
  5. Checkpoint: Autosave Notes30 min · Independent checkpoint

Day 6 · About 100 minutes

Responsive UIs & Actions

Keep slow screens responsive, and handle forms with actions and optimistic updates.

  1. When Components Re-render20 min · Read, predict and practice
  2. Keeping Typing Responsive20 min · Read, predict and practice
  3. Form Actions20 min · Read, predict and practice
  4. Optimistic Updates20 min · Read, predict and practice
  5. Checkpoint: Add Cards with Actions20 min · Independent checkpoint

Day 7 · About 150 minutes

The Study Board

Run, test and extend an app built with a reducer, context, custom hooks and an error boundary.

  1. The Study Board20 min · Read, predict and practice
  2. Error Boundaries15 min · Read, predict and practice
  3. Project Tests20 min · Read, predict and practice
  4. Extend It15 min · Read, predict and practice
  5. On Your Own: Reading Tracker80 min · Independent checkpoint
  6. Come Back Later20 min · Return in a few days · extra practice

Continue with React Advanced →