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.
84
Quality
77%
Does it follow best practices?
Impact
94%
1.10xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./config/claude/skills/react-state-management/SKILL.mdRedux Toolkit TypeScript setup
Typed RootState
100%
100%
Typed AppDispatch
100%
100%
useAppDispatch hook
100%
100%
useAppSelector hook
100%
100%
createAsyncThunk usage
100%
100%
rejectWithValue error handling
100%
100%
extraReducers builder pattern
100%
100%
Status lifecycle
0%
100%
Pending/fulfilled/rejected cases
100%
100%
serializableCheck config
0%
100%
PayloadAction types
100%
100%
createSlice pattern
100%
100%
TypeScript interfaces
100%
100%
Without context: $0.5060 · 1m 49s · 26 turns · 33 in / 7,243 out tokens
With context: $0.5420 · 1m 48s · 24 turns · 283 in / 6,804 out tokens
React Query server state patterns
Query keys factory
100%
100%
staleTime value
0%
100%
gcTime not cacheTime
100%
100%
gcTime value
0%
100%
enabled conditional fetch
100%
100%
cancelQueries in onMutate
100%
100%
Snapshot in onMutate
100%
100%
Optimistic cache update
100%
100%
Rollback in onError
100%
100%
invalidateQueries in onSettled
100%
100%
Zustand for UI state
100%
100%
No server state in Zustand
100%
100%
Without context: $0.6561 · 2m 31s · 32 turns · 38 in / 9,585 out tokens
With context: $0.9819 · 3m 51s · 41 turns · 45 in / 13,726 out tokens
Zustand middleware and slice pattern
devtools middleware
100%
100%
persist middleware
100%
100%
Middleware nesting order
100%
100%
persist name config
100%
100%
StateCreator slices
100%
70%
Combined store type
37%
0%
Slice merging
100%
100%
Selective subscription hooks
100%
100%
Selector syntax
100%
100%
No derived data stored
25%
37%
TypeScript interfaces
100%
100%
create() with double call
100%
100%
No cross-category mixing
100%
100%
Without context: $0.2923 · 1m 20s · 16 turns · 18 in / 5,002 out tokens
With context: $1.1871 · 3m 54s · 49 turns · 53 in / 14,380 out tokens
355d067
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.