React2 min read
React Context: When to Use It (and When Not To)
Context basics, performance implications, and alternatives like composition.
#Interview
Feb 08, 2026Practice
Practice
Search by concept, narrow to a roadmap, or pick a tag to focus on the exact topic you want to rehearse.
15 articles · page 2 of 2
Context basics, performance implications, and alternatives like composition.
How to think about form inputs, refs, and when each approach makes sense.
How React batches state updates and what it means for setState and derived state.
When effects run, how dependency arrays work, reference stability traps, and avoiding stale closures.
Core building blocks: props vs state, one-way data flow, and when to lift state up.
How React thinks about rendering, reconciliation, and why state changes cause re-renders.