How Redux uses the Context API #4271
cpatti97100
started this conversation in
General
Replies: 1 comment 1 reply
-
To clarify a bit: Redux doesn't use Context. The React-Redux library does. For all the details, see my posts here: |
Beta Was this translation helpful? Give feedback.
1 reply
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Hello all and thank you for the great work :)
I read may times that Redux uses the Context API internally.
I was wondering, is a Redux store handled by a single context?
Or perhaps, does every store slice create its own context?
In other words, what is the magic behind rendering only the components that are affected by a certain part of the state?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions