Interview practice question
The global store contains everything
Frontend Engineering · State Management and Data Fetching · Intermediate
Your global store holds API data, form inputs, modal visibility and UI flags, and every change touches it. How would you restructure?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Categorise state.
- Server data → data library.
- Forms → form library/local.
- UI flags → local state.
- Keep small global store.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.