Skip to main content

redux

Provides comprehensive guidance for Redux state management including stores, actions, reducers, middleware, selectors, and Redux Toolkit. Use when the user asks about Redux, needs to manage global state, implement Redux patterns, or work with Redux middleware.

소스 정보

저장소
full-stack-skills/react-skills
최근 소스 활동
2026년 9월 15일 09:47
감지된 SKILL.md 언어
영어
스타
1
포크
1

설치 방법

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

소스 파일 검토

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

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
redux
description
Provides comprehensive guidance for Redux state management including stores, actions, reducers, middleware, selectors, and Redux Toolkit. Use when the user asks about Redux, needs to manage global state, implement Redux patterns, or work with Redux middleware.
license
Apache-2.0
## When to use this skill Use this skill whenever the user wants to: - 用 Redux 管理 React 应用全局状态(store、reducer、action、dispatch) - 使用 Redux Toolkit(createSlice、configureStore)或经典写法 ## How to use this skill 1. **核心**:store、reducer、action、dispatch; useSelector、useDispatch。 2. **Toolkit**:createSlice、configureStore、createAsyncThunk;DevTools 与中间件。 3. **参考**:https://react-redux.js.org/ 、https://redux-toolkit.js.org/ ## Best Practices - 状态扁平、按域切 reducer;action 与 reducer 纯函数。 - 异步用 thunk 或 RTK Query;避免在 reducer 中请求。 ## Keywords redux, Redux Toolkit, store, 状态管理, React
GitHub에서 보기