tonyhb / redux-ui

Easy UI state management for react redux
636 stars 58 forks source link

react, react-redux and redux should be expressed as 'peerDependencies' in package.json #78

Open grubstarstar opened 7 years ago

grubstarstar commented 7 years ago

I have a react native project which was built using react-native@0.46. This has react@16.0.0-alpha.12 as a dependency. redux-ui should be including this under peerDependencies in package.json and should allow for a wider range of react versions so that the module will just use the canonical version being used by the dependant project. I get this error otherwise:

https://facebook.github.io/react/warnings/refs-must-have-owner.html

j4k commented 7 years ago

@tonyhb is it possible to tag a version with this in? It's breaking certain tests for me in enzyme during a react upgrade