react-native-portal
react-native-portal copied to clipboard
React peerDependency
Current state
In package.json
, react is defined as a dependency.
Expected
It should define react as peer dependency.
Workaround
It creates a lot of issues: basically, when you add react-native-portal
, you automatically add the latest version of React to your bundle, which is probably a different version from the one you are currently using. You then end up with two different versions of React in your bundle