Zustand State Management

Best practices for Zustand state management in React and TypeScript applications, covering store design, selectors, middleware, SSR, and testing. Use when creating or refactoring Zustand stores, deciding whether state belongs in Zustand vs component state vs a server-state library, optimizing selector re-renders, adding persist/devtools/immer middleware, or handling Zustand with SSR/React Server Components.

mindrally Updated 306 repo stars

File contents

mindrally/skills commit 96158babf8

Frequently asked questions

npx get-skill add mindrally/zustand-state-management