Zustand

Zustand v5 state management for React. Covers TypeScript stores with double-parentheses syntax, persist middleware with hydration handling, devtools, subscribeWithSelector, slices pattern for large apps, SSR/Next.js provider pattern, immer middleware, auto-generating selectors, testing, and vanilla stores. Use when setting up global state, configuring persist middleware, implementing slices pattern, migrating from Redux or Context, testing stores, or troubleshooting hydration and TypeScript issues.

oakoss f82c22b 7 files · 38.2 KB Updated

File contents

oakoss/agent-skills/tree/main/skills/zustand commit f82c22b482

Frequently asked questions

npx skillmds add oakoss/zustand