~/talk

The two types of state management

Talkat React Finland 2022 · 2022-09-12..09-16· [react, frontend-architecture]

Claims that state libraries fall into easy vs simple categories and demonstrates on a concrete counter (clamped between 0 and 10) how useState, useReducer, context, subscriptions and selectors behave, showing unnecessary re-renders and how reducers plus selectors fix them. Mentions specific libraries—Recoil, Jotai, MobX, Redux Toolkit, Zustand—and presents XState as a state orchestrator with XState v5 alpha and Stately tools, arguing statecharts improve correctness and testability.

AI-written summary · about

  1. 0:00State management intro
  2. 1:14Why state management exists
  3. 3:17React’s useState limits
  4. 6:48Sharing state with context
  5. 9:58Direct vs indirect state
  6. 13:52Local vs global stores
  7. 15:40Effect management in state
  8. 16:44Choosing state management
  9. 19:11Separating logic from UI
  10. 20:55Maintainable state practices
  11. 22:19Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.