Immer-mutable state management
summary
Argues for observable mutable models that produce cheap structural-sharing snapshots by using computed values so snapshots reuse unchanged subtrees, enabling low-memory time travel and undo. Demonstrates replayable actions and JSON patches emitted from confined tree nodes for syncing and form workflows, and shows a state-tree library that maps to Redux devtools so it converts to a Redux-like store for time-traveling without reducers. Notes ~30% code reduction when migrating to MobX.
AI-written summary · about
chapters (9)
- 0:00Start
- 4:27The Reactions
- 10:28Problems
- 11:13Solutions
- 15:08Core Concepts
- 16:51Snapshots & Forms
- 17:31Snapshots & Testing
- 22:50Actions & Middleware
- 24:57References
related talks
48mMutable or Immutable? Let's do both!
34mMutable or Immutable? Why not both!
21mNext-gen React state management with MobX State Tree
25mNext generation state management
14mState management without pain
32mMobX State Tree React pure reactivity served
27mReact, But For Data
41mmobx-state-tree, stop getting into all those states!
