Closed dapicester closed 5 years ago
Hi @dapicester,
We don't yet support react-redux@^6
yet which changes from legacy React context to the new Context API.
Downgrading to react-redux@^5
should make the issue go away. I know that isn't the ideal answer, and we definitely plan to support version 6 at some point (soon), so I hope this isn't a dealbreaker for you.
If you want to get us there faster, I'll happily accept a PR adding v6 support.
OK, downgrading fixed the issue, and that's good enough for me. I wonder if that could be documented somehow.
You should have received a peer dependency warning when installing.
We could include versions of in installation instructions but I worry they will get out of sync pretty quickly.
I think the actual thing to do here is to support v6.
v6 support is not longer relevant as we not support v7. Closing this now.
Is it a bug, feature request or question?
It seems a bug, I always get error below when I try the sample code provided in the documentation.
Which package(s) does this involve?
react-redux-subspace
Input Code
I created a blank react-native app using Expo, then the
App.js
files has the following content:Expected Behavior
I should see a screen with the text
Open up App.js to start working on your app!
Current Behavior
I get the following error and stacktrace:
If I remove the
SubspaceProvider
then the app renders, but of course I don't get the subspace.Your Setup
Here are my dependencies from
package.json
: