Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 626 Bytes

File metadata and controls

26 lines (18 loc) · 626 Bytes

React Context Training Playground

This repository is organized as a workshop.

Useful branches

  • main: baseline app without context (prop drilling first)
  • exercise/create-base-context: first context implementation
  • exercise/create-optimized-context: optimized provider with split responsibilities
  • exercise/react-rerender-reasons: dedicated demo of React rerender causes

Exercise order

  1. main
  2. exercise/create-base-context
  3. exercise/create-optimized-context
  4. exercise/react-rerender-reasons

Run locally

bun install
bun dev

Then open the local URL shown in the terminal.