zustand-state
Installation
SKILL.md
Zustand State Management
When to Use
Use this skill when creating or modifying state that crosses component boundaries. Covers store creation, tab-based state isolation, slice composition, selector performance, middleware (devtools, persist, immer), and multi-view synchronization patterns.
1. Store Creation
Basic Store with TypeScript
import { create } from "zustand";