This covers Zustand 5's state management patterns with all the essentials: basic stores, the persist middleware for localStorage, proper selector usage with useShallow to avoid unnecessary re-renders, async actions, the slices pattern for organizing larger stores, and Immer middleware for simpler immutable updates. The examples are practical and show the common pitfalls, like selecting the entire store instead of specific fields. If you're building a React app and need client-side state that's lighter than Redux but more structured than useState, this gives you the modern patterns. The slice composition approach is especially useful once your stores grow beyond a handful of fields and actions.
npx skills add https://github.com/prowler-cloud/prowler --skill zustand-5