Skip to main content

zustand

Étoiles0
Forks0
Mis à jour11 juillet 2026 à 09:33

Expert Zustand (v5) state management for React — writing stores, selectors, middleware (persist/devtools/immer), TypeScript typing, Next.js/SSR architecture, testing, and eliminating unnecessary re-renders. Use this skill whenever the user creates or edits a Zustand store, mentions zustand, create()/createStore/useStore/useShallow/persist, asks about React global/client state management or state libraries, hits "Maximum update depth exceeded" / "getSnapshot should be cached" errors, complains about React re-renders tied to a store, migrates from Redux/Context to Zustand or from Zustand v4 to v5, or wires state into Next.js App Router — even if they don't say "zustand" explicitly but the code imports it. Also covers state management in Tauri desktop/mobile apps (Rust tauri::State vs webview stores, invoke/events, multi-window sync, tauri-plugin-store persistence) — use it for any Tauri + React state question, and for "where should this state live" decisions in Tauri apps generally.

Installation

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.

SKILL.md
readonly