What problem does it solve?
It prevents frontend state from becoming inconsistent or unmaintainable by clarifying when to use local state, stores, URL state, server hooks, or event-based side effects.
Core Features & Use Cases
- State vs events separation: Model “what is true right right now” as state and “what just happened” as events, updating state first before emitting side effects.
- Clear ownership rules: Define who owns each piece of state, who can update it, and whether it must survive refresh via URL or localStorage.
- Async correctness: Require loading, error, success, and empty handling for async operations using generated React Query hooks.
- Scalable system expansion: Integrate auth, network events, and additional state systems via pack-driven scaffolding while keeping a consistent architecture.
Quick Start
Choose the smallest state scope that fits your scenario, implement server data with generated React Query hooks, and keep durable navigation state in the URL instead of global stores.