Sikau

Learn React patterns at scale

The patterns big React codebases are built on — written and tested for real.

Go past the basics: compound components, custom hooks versus render props and higher-order components, where state should live, context that doesn't re-render everything, headless hooks with prop getters, reducers as state machines, a query cache with stale-while-revalidate, list virtualization and memoization, code splitting with preloading, rendering strategies from CSR to islands, and an accessible autocomplete — all running real React in your browser.

Advanced · 10 lessons · about 7 hours · free

Start React patterns at scale free: run real code in your browserright here

Continue with Google

What you will learn

Unit 1: Reusable component design

Components other teams can compose, extend and trust — and state that lives in the right place.

  1. Day 1Compound componentsParts that share hidden state through context.35 min
  2. Day 2Hooks, render props and HOCsOne piece of logic, shared three ways.35 min
  3. Day 3Where state should liveContainer and presentational parts, colocation and lifting.35 min
  4. Day 4Context without re-render stormsSplit state from actions and keep values stable.35 min
  5. Day 5Project: A headless data tableA hook with sorting, filtering and prop getters.45 min

Unit 2: State, data and speed

State machines, cached server data, fast lists, smaller bundles and accessible widgets.

  1. Day 6Reducers as state machinesMake impossible states impossible.35 min
  2. Day 7Caching server dataDeduplicate requests and stale-while-revalidate.40 min
  3. Day 8Memoization and virtualizationSkip renders and render only what's on screen.40 min
  4. Day 9Code splitting and renderinglazy, preloading, and CSR, SSR, static and islands.40 min
  5. Day 10Capstone: An accessible autocompleteA cached, race-free, keyboard-friendly combobox.50 min

Before you start

These courses make React patterns at scale easier:

See all courses

Built with ❤️ by dibe.sh