r/reactjs • u/acemarke • May 03 '18
Beginner's Thread / Easy Question (May 2018)
Pretty happy to see these threads getting a lot of comments - we had over 200 comments in last month's thread! If you didn't get a response there, please ask again here!
Soo... Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! We’re a friendly bunch. No question is too simple.
The Reactiflux chat channels on Discord are another great place to ask for help as well.
24
Upvotes
View all comments
Show parent comment
3
u/coolbox4life May 28 '18
What I meant was, that when you write your component, you should wrap it in a Provider using your local store which uses the reducers for that component:
You can then use the
ExportedComponentin any other part of the app without worrying about how the state is handled inside. Even if the app that uses your component uses redux itself, the stores are different and don't affect each other.