Patterns in React: interview exercises

Patterns in React: 5 test-checked interview exercises (An error boundary, A modal through a portal), each beside a worked example, with tests as you go. Free.

  1. An error boundary
  2. A modal through a portal
  3. Compound components
  4. Children as a function
  5. useSyncExternalStore

Each exercise pairs a worked example with a twin problem to solve in a real editor; the tests run the moment you do. Progress is saved in your browser, and in your account if you sign in.

More React topics

All React exercises ยท Other languages and frameworks