Avoid Prop Drilling with Context
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
The current user and theme are passed as props through six layers of components that don't use them, just to reach a few deep ones. Explain how React context would help, how you'd set it up, and the costs of using it.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.