Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Une commande directe contourne le prompt de vérification. Examinez la source avant de l'exécuter.
Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.
license
MIT
metadata
{"author":"Microsoft","version":"1.0.0"}
Zustand Store
Create Zustand stores following established patterns with proper TypeScript types and middleware.
// Good - only re-renders when `items` changesconst items = useMyStore((state) => state.items);
// Avoid - re-renders on any state changeconst { items, isLoading } = useMyStore();