RN state & data · Trade-off
Choosing state management
Practise this out loud
Say your answer out loud to an AI interviewer that follows up, and get a score for it.
Practise by voiceThe interviewer asks
When do you actually need Redux Toolkit vs Context vs Zustand vs React Query? Defend the choice in your current app.
Then
Follow-ups the interviewer asks next
- "What's Context's performance pitfall?"
- "What would you move out of Redux?"
- "How do you structure slices for a 40-screen app?"
- "Selectors and memoization?"
The answer
What a strong answer covers
- Separate server state (React Query or RTK Query: cache, refetch, dedupe) from client state (UI, session, preferences).
- Context is fine for rarely-changing values (theme, auth). Every consumer re-renders when the value changes.
- RTK for complex cross-cutting client state with devtools and middleware. Zustand for light stores with selector subscriptions.
- Feature-sliced folders. Memoized selectors (
createSelector). Normalize withcreateEntityAdapter.
The red pen
Common traps
Avoid:storing all API data in Redux by hand. A giant Context holding frequently-changing state.
Practise this out loud
Say your answer out loud to an AI interviewer that follows up, and get a score for it.
Practise by voicePractise questions like this out loud
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.