React state management

From Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI · View interactive version

React state management is an AI agent skill from the GitHub repository Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI. Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query. Use when setting up global state, managing server state, or choosing between state management solutions.

How to use this skill

Skill file

React State Management

Comprehensive guide to modern React state management patterns, from local component state to global stores and server state synchronization.

Do not use this skill when

Instructions

Use this skill when

Core Concepts

🧠 Knowledge Modules (Fractal Skills)

1. [1. State Categories](./sub-skills/1-state-categories.md)

2. [2. Selection Criteria](./sub-skills/2-selection-criteria.md)

3. [Zustand (Simplest)](./sub-skills/zustand-simplest.md)

4. [Pattern 1: Redux Toolkit with TypeScript](./sub-skills/pattern-1-redux-toolkit-with-typescript.md)

5. [Pattern 2: Zustand with Slices (Scalable)](./sub-skills/pattern-2-zustand-with-slices-scalable.md)

6. [Pattern 3: Jotai for Atomic State](./sub-skills/pattern-3-jotai-for-atomic-state.md)

7. [Pattern 4: React Query for Server State](./sub-skills/pattern-4-react-query-for-server-state.md)

8. [Pattern 5: Combining Client + Server State](./sub-skills/pattern-5-combining-client-server-state.md)

9. [Do's](./sub-skills/dos.md)

10. [Don'ts](./sub-skills/donts.md)

11. [From Legacy Redux to RTK](./sub-skills/from-legacy-redux-to-rtk.md)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.