React 18 Support
See original GitHub issueIs your feature request related to a problem? Please describe. I’d like to be able to use nivo with React 18 which was released on 3/29. Today, the nivo dependencies are such that React 18 causes errors like the following when running “npm update”:
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR! react@"18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@">= 16.14.0 < 18.0.0" from @nivo/core@0.79.0
npm ERR! node_modules/@nivo/core
npm ERR! @nivo/core@"0.79.0" from the root project
npm ERR! peer @nivo/core@"0.79.0" from @nivo/bar@0.79.1
npm ERR! node_modules/@nivo/bar
npm ERR! @nivo/bar@"0.79.1" from the root project
npm ERR! 1 more (@nivo/tooltip)
Describe the solution you’d like I think bumping the React dependency should hopefully address this.
Describe alternatives you’ve considered Running “npm update --force” seems to circumvent this problem for now.
Additional context Thanks for all your work on this terrific library!
Issue Analytics
- State:
- Created a year ago
- Reactions:74
- Comments:20 (5 by maintainers)
Top Results From Across the Web
How to Upgrade to React 18
In this release, React is dropping support for Internet Explorer, which is going out of support on June 15, 2022. We're making this...
Read more >React 18 Upgrade Guide and New Features - Refine Dev
React 18 was released! Are you looking to upgrade to React 18? Learn about the new features and changes in this comprehensive guide....
Read more >How to Upgrade to React 18 - How-To Geek
In this article, we'll show you how to upgrade your existing codebases to React 18. Bear in mind that this guide is only...
Read more >React 18 - What Changes Does It Bring And How Will They ...
React 18 drops support for Internet Explorer 11, even before the scheduled end of support from Microsoft. While you would expect the bundle...
Read more >An Ultimate Guide to Upgrading to React 18 - OpenReplay Blog
The React team recently released React 18 with improvements like automatic batching, a new suspense feature, and new APIs like startTransition .
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
How can I change the crosshair color? I only see it’s black. It won’t work for the dark mode sites. Thank you
Has React 18 support arrived?