after updating to the newest version of expo (SDK 26) and updating react to ‘16.3.0-alpha.1’ I get the error below when installing redux-thunk, Any ideas of how to fix it or redux nom’s that will work and allow me to return action promises
├── UNMET PEER DEPENDENCY react@16.3.0-alpha.1
└── redux-thunk@2.2.0
npm WARN @babel/plugin-check-constants@7.0.0-beta.38 requires a peer of @babel/core@7.0.0-beta.38 but none was installed.
npm WARN react-native-branch@2.0.0-beta.3 requires a peer of react@>=15.4.0 but none was installed.
npm WARN react-native-gesture-handler@1.0.0-alpha.41 requires a peer of react@> 15.0.0 but none was installed.
npm WARN react-native-maps@0.20.1 requires a peer of react@^16.0 but none was installed.
npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none was installed.
npm WARN react-test-renderer@16.3.1 requires a peer of react@^16.0.0 but none was installed.
I think this might be related to something else. redux-thunk is pretty popular and I’m not seeing anyone having similar issues. Could you possible put together a snack that replicates the error?
I trust you aren’t making any obvious mistakes, maybe open an issue for redux-thunk with your findings.
Personally I use rematch which I think is way better. It has async built in through it’s effects. Here is an example: Rematch Example - Snack
Granted this won’t help for anyone with existing redux-thunk code
Sorry I couldn’t be more help
I can’t Promise( pun intended could resist ) I’m not making any obvious mistakes , what do you suggest I look at just to double check, the code works fine when I return the dispatch as an object its only when I try returning the promise that it the error.