State Management · Junior · Question 61 of 75

Why can Zustand cause fewer re-renders than a single Context for the same state?

Explanation

Every consumer of a context re-renders when its value changes. A store with selectors gives fine-grained subscriptions without splitting contexts.

Further reading

Problem with a question

State Management · Junior · question 61

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