zustand - Create and manage Zustand v5 stores in React
Provides best practices and patterns for creating TypeScript-typed Zustand v5 stores, configuring middleware, and writing selectors.
Tags
Updated: 2026-09-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Separate state and action types
- Implement useShallow selectors
- Configure devtools and persist middleware
- Subscribe to stores outside React
- Create modular typed store slices
- Reset store initial state
Inputs
- Store template
- Domain state definitions
- Storage backends
Outputs
- Domain store files
- Store test files
- Persisted storage entries
Requirements
- Zustand v5+
- TypeScript
- React
- Redux DevTools extension
