zustand
Installation
SKILL.md
Zustand State Management Guide
This skill provides guidelines, patterns, and best practices for working with Zustand in this project.
Quick Start
For detailed store patterns, middleware usage, and comprehensive examples, please refer to references/patterns.md.
Core Philosophy
- Shared Client State Only: Use Zustand for shared client state, not server state (use TanStack Query for that).
- Domain-Specific Stores: Keep stores focused on specific domains.
- Type Safety: Leverage TypeScript for fully typed stores.
- Simplicity: Prefer simplicity over complex abstractions.