State management system used by Ignite VIDEO - Intro to MobX-State-Tree
Core Concepts
MobX
- Uses observables, actions, and reactions to manage state
- Allows mutable state updates
- Automatically tracks state changes and updates observers
MobX-State-Tree
- Built on top of MobX
- Combines concepts from MobX with a structured state tree
- Uses models to define the shape of state
- Allows both mutable and immutable state updates
- Provides actions for modifying state