Behind The APIs: How Zustand, Jotai, and Valtio Were Born - Daishi Kato
summary
Chronicle of three libraries shows concrete design choices: Zustand moves to a tiny core with a hook-based store and selectors that give fine-grained render control (Zustand v3 stabilizes the API); Jotai exposes atoms and derived atoms forming a data-flow graph that propagates updates and reduces recalculation; Valtio exposes proxy state and provides immutable snapshots for concurrent React and built-in suspense; all three keep minimal cores and push extra features into ecosystems.
AI-written summary · about
chapters (12)
- 0:00Introduction and myself
- 1:29Early open source journey
- 2:37React Hooks libraries background
- 3:43React Hooks Global State
- 6:37React Tracked and state tracking
- 11:40Zustand history and API
- 14:53Why Jotai was created
- 18:47Valtio and proxy state
- 22:20Comparing the three libraries
- 25:13Choosing between libraries
- 26:17Talk summary and lessons
- 26:38Q&A session
