Context & reducers in React: interview exercises

Context & reducers in React: 5 test-checked interview exercises (Context with a hook, A reducer), each beside a worked example, with tests as you go. Free.

  1. Context with a hook
  2. A reducer
  3. A context with a working default
  4. A store from context and a reducer
  5. Undo and redo with a reducer

Each exercise pairs a worked example with a twin problem to solve in a real editor; the tests run the moment you do. Interview mode hides the example: solve it from memory, without the hint or the solution, and it counts as solved cold. Progress is saved in your browser, and in your account if you sign in.

More React topics

All React exercises ยท Other languages and frameworks