
Zustand State Management
A solid reference for wiring up Zustand without stepping on the common landmines. The skill covers the TypeScript double-parentheses syntax that trips people up, persist middleware for localStorage, and the Next.js SSR hydration pattern with the `_hasHydrated` flag. It documents six specific errors you'll want to avoid, including hydration mismatches and infinite render loops, plus fixes that landed in v5.0.10. Reach for this when you're adding global state to a React or Next.js project and want type safety without the Redux ceremony. The slices pattern and immer middleware examples are helpful for keeping larger stores organized.
- skills.sh installs
- 1.2K
- GitHub stars
- 1.1K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add jezweb/claude-skills --skill zustand-state-management --agent claude-codeInstalls into .claude/skills of the current project.
Files
A solid reference for wiring up Zustand without stepping on the common landmines. The skill covers the TypeScript double-parentheses syntax that trips people up, persist middleware for localStorage, and the Next.js SSR hydration pattern with the `_hasHydrated` flag. It documents six specific errors you'll want to avoid, including hydration mismatches and infinite render loops, plus fixes that landed in v5.0.10. Reach for this when you're adding global state to a React or Next.js project and want type safety without the Redux ceremony. The slices pattern and immer middleware examples are helpful for keeping larger stores organized.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/jezweb/claude-skills
- Categories
- Frontend Development, Backend & APIs, DevOps & CI/CD, Debugging
More from jezweb/claude-skills
All 166- Vite Flare Starter1.2K
- Shopify Content1.2K
- React Hook Form Zod1.2K
- Deep Research1.2K
- D1 Migration1.2K
- Design System1.1K
- Onboarding Ux1.1K
- Roadmap1.1K
- Stripe Payments1.1K
- Tailwind Patterns1.1K
- Uk Business English1.1K
- App Docs1.1K
- Gws Setup1.1K
- Product Showcase1.1K
- Gws Install1.1K
- Strategy Document1.1K
- Team Update1K
- Us Business English1K
- Nextjs1K
- Design Loop1K
- Cloudflare Api997
- Parcel Tracking996
- Db Seed981
- Award Application971