Frontend Development ยท React
How would you answer an interview scenario involving context and shared state in React?
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.