question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is 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:closed
  • Created a year ago
  • Reactions:74
  • Comments:20 (5 by maintainers)

github_iconTop GitHub Comments

44reactions
flashdebuggercommented, Apr 1, 2022

How can I change the crosshair color? I only see it’s black. It won’t work for the dark mode sites. Thank you

23reactions
Gerald12344commented, May 25, 2022

Has React 18 support arrived?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found