Frontend Engineering
State Management
6 practice questions. Free questions open a full answer guide; the rest unlock with Pro.
- How do you decide whether a piece of state should live locally in a component or be shared more globally?
- What is prop drilling, why can it become a problem, and how would you address it?Go Pro
- On a project you're reviewing, the team has put all of its data, including API responses, UI toggles, and form drafts, into one global Redux store. How would you reason about whether that's the right architecture, and what would you change?Go Pro
- How do you decide what belongs in local component state, in a shared client store, or in a server-state library, and why does mixing them up cause problems?Go Pro
- A teammate notices a shared context provider in your React app is re-rendering large parts of the tree on every small state change. Walk me through why context can cause this and how you'd address it.Go Pro
- When does using React Context for shared state start causing performance problems, and how do you decide whether to restructure it or reach for a dedicated store?Go Pro
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.