Thiru LogsAll FAQs
Frontend Development ยท React

How would you answer an interview scenario involving context and shared state in React?

AdvancedUpdated 2026-08-08

If many pages need the current authenticated user, expose that user through an authentication context rather than threading the same prop through every layout component.

#react#context