Skip to main content

state-management

Manage client and server state with Zustand stores and React Query patterns.

소스 정보

저장소
redpanda-data/console
최근 소스 활동
2026년 2월 17일 19:13
감지된 SKILL.md 언어
영어
스타
4,336
포크
431

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
state-management
description
Manage client and server state with Zustand stores and React Query patterns.
# State Management Choose the right state solution for each use case. ## Activation Conditions - Managing global state - Persisting state across navigation - Cross-component data sharing - Questions about Zustand vs React Query ## Quick Reference | Action | Rule | |--------|------| | Read from store | `use-zustand-selectors.md` | | Persist state | `use-zustand-persist.md` | | Fetch server data | `use-react-query-for-server.md` | ## Decision Tree ``` Is it server data (API response)? ├── Yes → React Query / Connect Query │ (caching, refetching, invalidation) └── No → Is it URL state? ├── Yes → React Router │ (search params, path params) └── No → Is it form state? ├── Yes → React Hook Form │ (validation, submission) └── No → Is it shared across components? ├── Yes → Zustand │ (global, persisted) └── No → useState / useReducer (local component state) ``` ## Rules See `rules/` directory for detailed guidance.
GitHub에서 보기