Web developmentLearning library

React

Build focused interfaces from predictable state and accessible components. Start with stable rendering principles; framework integration, data APIs, and optimization guidance should follow the current official documentation.

Intermediate12 chapters11 practice questions5 references
Start coursePractise questions

Get an in-app notice when new lessons or practice are added.

12 chapters across 4 modules

Course chapters

Explore all 12 chapters in any order. Each chapter has learning goals, a practice prompt, and a primary reference; expanded reading pages are linked from their chapter titles.

01 · Rendering and component boundaries3 chapters
  1. Components, props, and composition

    • Break a user interface into components with explicit input contracts

    Practice: Draw a component tree for a course reader and implement its static structure.

    Read the primary referenceLesson guide · Ready
  2. State and rendering

    Predict interface changes by tracing the state used by each render.

    • Explain why an event handler observes a snapshot of component state

    Practice: Trace two state updates and implement the intended result using an updater.

    Read the primary referenceExpanded reading · Ready
  3. Lists, keys, and identity

    • Explain how keys preserve the identity of list items

    Practice: Reorder an editable lesson list and prove that each input stays with its lesson.

    Read the primary referenceLesson guide · Ready
02 · Modeling interactions3 chapters
  1. Minimal state and derived values

    • Avoid storing values that can be calculated from existing state

    Practice: Refactor a catalog so filtered results and counts are derived.

    Read the primary referenceLesson guide · Ready
  2. Lifting state and reducers

    • Choose a common owner for coordinated state transitions

    Practice: Implement selection and completion with a reducer and an explicit action model.

    Read the primary referenceLesson guide · Ready
  3. Forms and accessible feedback

    • Keep form state, field errors, and focus understandable

    Practice: Build an enrollment preference form using labels and error descriptions.

    Read the primary referenceLesson guide · Ready
03 · External systems and async work3 chapters
  1. Effects and cleanup

    • Explain setup and cleanup for a real external subscription

    Practice: Subscribe to a browser event and verify the listener is removed on unmount.

    Read the primary referenceLesson guide · Ready
  2. Data fetching and race conditions

    • Recognize stale responses and framework-provided loading boundaries

    Practice: Simulate rapid topic selection and prevent late data from replacing the current topic.

    Read the primary referenceLesson guide · Ready
  3. Refs and imperative integration

    • Use a ref for imperative work that should not drive rendering

    Practice: Restore focus to the search control after a dialog closes.

    Read the primary referenceLesson guide · Ready
04 · Shipping and maintaining an interface3 chapters
  1. State ownership across routes

    • Separate persistent user data from temporary view state

    Practice: Document where progress, filters, dialog state, and cached data belong.

    Read the primary referenceLesson guide · Ready
  2. Measure before optimizing

    • Identify expensive rendering with a reproducible interaction

    Practice: Profile a large filtered list and compare a focused optimization against the baseline.

    Read the primary referenceLesson guide · Ready
  3. Build and test a course reader

    • Exercise navigation, completion, and failures through visible behavior

    Practice: Ship a keyboard-operable reader with loading, empty, and error states.

    Read the primary referenceLesson guide · Ready

Learn it. Check it. Try again.

11 original questions with worked explanations and source references. Filter by difficulty, revisit mistakes, and save your attempt as you go.

Open React practice

Books & references

Free reading at the publisher or author’s site. External materials keep their own licenses.

  • Learn ReactReact team · course
    Source & reuse terms

    Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.

  • Thinking in ReactReact team · documentation
    Source & reuse terms

    Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.

  • Managing stateReact team · documentation
    Source & reuse terms

    Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.

  • React escape hatchesReact team · documentation
    Source & reuse terms

    Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.

  • You might not need an EffectReact team · documentation
    Source & reuse terms

    Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.