-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React-Native: <Provider> does not support changing store
on the fly
#347
Comments
If you change the component that creates the store, |
Thanks for your input. The App component barely changes so it's not that big of an issue. I wasn't entirely sure if I've set up all correctly but the crucial part of hot reloading (changing reducer code) seems to work well, so I guess I'm good to go. 👯 |
@gaearon Does this mean that I just have to accept that I won't be able to hot-reload when working on my flow-control logic (thunks, sagas)? |
Hi there,
I'm using Redux (v3.4.0) with
react-redux
(v4.4.2) from a React Native (v0.23.1) app. I've set up RNs built-in hot reloading for the redux store as described here.However when editing the file where I use
<Provider>
the following error is thrown:Here's the relevant code:
app.js
configureStore.js
I've checked for duplicate react versions via
npm ls react
, but results in single dep:[email protected]
Anyone can point me into the write direction, what's going wrong in my code?
Thanks in advance.
The text was updated successfully, but these errors were encountered: