DEV Community

Discussion on: Pitfalls of overusing React Context

Collapse
 
sharlos profile image
Chris

Doesn't react-redux use context under the hood? How does it avoid the re-rendering issue?

Collapse
 
markerikson profile image
Mark Erikson

Because we only use context to pass the store instance, not the store state.

I just put up a blog post recently explaining the difference:

React, Redux, and Context Behavior

And for complete details on how React-Redux actually works internally, see my post The History and Implementation of React-Redux.