Skip to main content

zustand

Estrellas0
Forks0
Actualizado11 de julio de 2026 a las 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.

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

SKILL.md
readonly