State Management · Junior · Question 53 of 75

Where should a Context provider be placed?

Explanation

A lower provider limits which parts of the tree re-render when the value changes, and keeps unrelated features independent. Truly global values (theme, auth) can live near the root.

Further reading

Problem with a question

State Management · Junior · question 53

Test yourself

Take the State Management · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz