State Management · Middle · Question 49 of 75
Server data is in TanStack Query. What's usually left for a global client store?
- ✓Correct answer: A little UI state: theme, open panels, wizard steps - often Context or Zustand is enough
- 2Nothing - TanStack Query also replaces all UI state
- 3A full copy of server data to avoid refetching
Explanation
Once server cache moves to a dedicated tool, the remaining client state is often small. Copying server data into Redux/Zustand recreates the sync problems the query library solves.