Bump react and react-dom peerDependencies version
See original GitHub issue🐛 Bug report
Current Behavior
Peer dependency warnings are generated when installing reach-ui libs using React 17:
warning @reach/portal@0.11.2" has incorrect peer dependency "react@^16.8.0".
warning @reach/portal@0.11.2" has incorrect peer dependency "react-dom@^16.8.0".
warning @reach/tooltip@0.11.2" has incorrect peer dependency "react@^16.8.0".
warning @reach/tooltip@0.11.2" has incorrect peer dependency "react-dom@^16.8.0".
Expected behavior
No warnings.
Suggested solution(s)
Change peer dependencies to “react@^16.8.0 || react@^17.0.0”
Your environment
Software | Name(s) | Version |
---|---|---|
Reach Package | many (all?) | latest |
React | 17.0.1 |
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:6 (3 by maintainers)
Top Results From Across the Web
npm Peer Dependencies - Fathom
Prior to version 4, npm automatically included peer dependencies if they weren't explicitly included. That behaviour led to too much complexity in dependency ......
Read more >The complete guide to publishing a React package to npm
So you want to publish a React component as a package to npm? This guide has all the information you need, even if...
Read more >react-bootstrap-slider - npm
Updated dependencies to latest versions. Version 1.1.2: 24 Sep 2016. Reverted change of slider trigger event from change to slideStop in v1.1.1.
Read more >Add to the addon catalog - Storybook Tutorials
And all peer-dependencies of the addon. For example, react, react-dom and all Storybook related APIs. Copy. package.json. { ... "main": "dist/preset.js", ...
Read more >FAQs - styled-components
npm install styled-components@^5.0.0 react@^16.8 react-dom@^16.8 react-is@^16.8 ... Also, note that in the peerDependencies section the version string has ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@felixmosh Ok, then opened #718 for this, thanks!
All reach-ui components are compatible to
^16.8
therefore compatible to17
.