33
React Performance

React Performance

Measure first, prescribe second. Eight lessons on what causes re-renders, when memoization earns its keep, and where code splitting actually helps.

~ 125 min·8 lessons·updated apr 2026

What you'll learn


Lessons

Read in order. Each lesson stands on its own, but the order is deliberate.

8 lessons · ~125 min total

  1. 01
    What causes a re-render
    The three buttons React watches: state, parent render, and context.
    15 min
  2. 02
    The Profiler
    Recording flame graphs, reading commit timing, and answering 'why did this render'.
    17 min
  3. 03
    React.memo
    Shallow prop equality, where it pays, and the cases where it quietly costs.
    15 min
  4. 04
    useMemo and useCallback, measured
    One case where memoization helps and one where it's noise — both with numbers.
    16 min
  5. 05
    The React Compiler in one lesson
    What it auto-memoizes, when hand-written hooks become unnecessary, and the opt-in story.
    14 min
  6. 06
    Lists and virtualization
    When a list outgrows the DOM, and how react-window swaps rows in and out.
    15 min
  7. 07
    Code splitting with React.lazy and Suspense
    Route-level splits, component-level splits, and the budgets that justify each.
    16 min
  8. 08
    Common anti-patterns
    Derived state, context that re-renders the world, inline objects, and effect spam.
    17 min

Prerequisites

  • · Finished React Server Components
  • · Comfortable building React features
  • · Have used React DevTools at least once

After this, try