Allow React 18 as peerDependency
See original GitHub issueReact 18 is backward compatible, please, allow React version ^18.0
as peerDependency in package.json
https://reactjs.org/blog/2022/03/29/react-v18.html
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
React 18 is not supported as a peer dependency #5205 - GitHub
Possible solution. Update "peerDependencies" in package.json to support React 18.
Read more >npm ERR! Conflicting peer dependency: react@18.0.0
I have the same issue as yours. To fix the error. Open cli then type: open /Users/Name/.npm then delete folders _cacache, _logs, _npx....
Read more >Add React 18 as a peer dependency - Morioh
The purpose of the NAT Gateway is to allow only the outbound connections from your private subnet to the internet. No one can...
Read more >Addressing the shortcomings of peer dependencies - HackMD
They also give no way for producers to indicate common intent. They put singleton package expectations in the ... Should react be a...
Read more >React Leaflet Search Peer Dependency Issue Inquiry
0.1 npm package library with React v18? I've tried running…npm install react-leaflet-search --legacy-peer-deps as listed on stack overflow ( ...
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
https://github.com/maslianok/react-resize-detector/blob/353457dacdd132073276d597c83d12341a6cdeaf/README.md?plain=1#L1
Support React 18 like it’s 2022! 😄
Btw thank you for this package! This is awesome!
It isn’t. Issue #208 highlights a major regression that needs addressing first, the solution for which is in PR #209.
It won’t work out-of-the-box in React 18 until this is addressed.