react-electron-browser-view
react-electron-browser-view copied to clipboard
Fix package.json - React 16 should be marked as compatible
You can see the following error if try to use with React 16 (instead of React 15):
[email protected] requires a peer of react@^15.0.0 but none is installed.
The reason of this warning: https://github.com/vantezzen/react-electron-browser-view/blob/f7bd112aff512fdb41e43fb9a385fd49d2382fa5/package.json#L55-L56
Need to replace it by the following:
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0",
You can check semver syntax here: https://semver.npmjs.com/