Storekeeper — React Market storekeeper: 22 levels of state management: store, selectors, actions, render budget. Real React@19 in an iframe with N consumers and a render meter.
Lessons this game drills State Management Patterns : Keep state as close as possible to the components that use it. Local useState for one component. Lifting state up to the nearest parent for 2 to 3 components…useReducer : useReducer gathers all the rules for changing a state into one function, the reducer. useReducer(reducer, initialState) takes two arguments, the reducer…Context API : Context solves prop drilling, which is passing props through components that don't need them. There are three steps. First, write const ThemeContext =…Lifting State Up : When two components need the same data, lift its state to the closest parent that wraps both. The technique is called lifting state up. The parent keeps the…Component Crafter : Build React components: 10 levels of props, state, effects and conditional rendering. The most effective React fundamentals game around.Hook Smith : Brass key cutter: 20 levels extracting component logic into custom hooks, checked with real react-hooks lint, iframe behavior parity and a render count.Hook Choreography : Order React hooks so they don't collide during render: 14 levels of the rules of hooks, call order and reconciliation.Gapura Router : Test the Watu Lawang village site on the post’s phone: routes, loaders, errors, lazy and portals.Diff Detective : Mark the DOM nodes React touches at commit, on the lantern boards of Pak Yusuf's bakery: 14 levels of reconciliation, keys and render bailouts.