Skip to content
React·Intermediate·Conceptual·1 min read

What happens when a provider value changes?

Short interview answer

Consumers of that context are eligible to render when React compares the value with Object.is and finds a change. React.memo does not block an update from context consumed inside the component.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Context and render performance

Related questions