Skip to content
One-time payment12h · 68 lessons

React from Scratch

The route

  1. Rendering, and what React is doing

    Components, JSX and the render cycle — enough model to predict what re-runs.

    You board here
    120 min
  2. State that stays honest

    useState, derived values, lifting state, and the two-sources-of-truth bug.

    120 min
  3. Effects, and when you do not need one

    Fetching, subscriptions and cleanup — plus the effects to delete outright.

    120 min
  4. Forms, validation and optimistic updates

    Controlled inputs, submission states, and rolling back a write that failed.

    120 min
  5. Routing, data and the shape of an app

    Route-level loading, layouts, and where the server and client meet.

    120 min
  6. Shipping it

    Bundle size, memoisation where it earns its keep, and staying pleasant six months in.

    120 min

A look at the teaching

Stop 2 · State that stays honestSample excerpt

Derived state is the bug you keep rewriting.

// Don't: two sources of truth that can disagree.
const [items, setItems] = useState([]);
const [total, setTotal] = useState(0);

// Do: one source, and a value computed from it.
const [items, setItems] = useState([]);
const total = items.reduce((sum, i) => sum + i.price, 0);

If a value can be calculated from state you already hold, it is not state. Most stale-UI bugs are two pieces of state that were supposed to stay in step.

Who is driving

NB
Nóra Bakos
Frontend lead

Nóra teaches the way a good colleague explains things at a whiteboard — no jargon for its own sake, and nothing hidden behind “as you can see”.

Placeholder profile