Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for React v17 #2536

Closed
the-marolie opened this issue Mar 12, 2024 · 9 comments
Closed

Support for React v17 #2536

the-marolie opened this issue Mar 12, 2024 · 9 comments

Comments

@the-marolie
Copy link

After the latest update - v0.85.x, line graph breaks for apps using react v17.
This is caused due to the use of useId hook in @nivo/line. This hook is only available in react v18

To Reproduce
use

Expected behavior
Backward compatibility for react v17

Screenshots
image

@ivanlucci1
Copy link

Is there any estimates about when we'll have an updated for this issue?

I was going through the same problem and for now I've downgraded my @nivo/line dependency to 0.84.0, although it have introduced 13 high severity vulnerabilities.

@plouc @wyze

@adelsz
Copy link

adelsz commented Apr 8, 2024

Same problem. We had to downgrade to 0.84.0 and now have security vulnerability issues.

@plouc
Copy link
Owner

plouc commented Apr 23, 2024

Fixed by #2545.

@plouc plouc closed this as completed Apr 23, 2024
@alissoncorsair
Copy link

@plouc is this already in prod? I'm still having the same issue with React 17

@plouc
Copy link
Owner

plouc commented Apr 25, 2024

@alissoncorsair, it hasn't been released yet, I'll try to publish a new release over the weekend.

@alissoncorsair
Copy link

@plouc thanks! :)

@rociogarridofer
Copy link

Good morning!

I have seen that the changes have already been merged to the master branch, but in my project I still get the useId error, after making a new yarn.

Is there any step still missing?

Thank you very much!

@TareqElMasri
Copy link

@plouc where are you gonna release the new version?

@plouc
Copy link
Owner

plouc commented Apr 29, 2024

It's been released in 0.86.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants