You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for the good work your library is doing a great job. However, I have a problem.
Describe the bug
I get a warning during the build.
./node_modules/react-tooltip/dist/react-tooltip.esm.min.js
Attempted import error: 'useId' is not exported from 'react' (imported as 'n').
Version of Package
5.5.1
Context
In my project we are using react 17.x. useId which you are using was introduced in react 18.
I believe it is cause of the issue.
Is there any change to use eg. uuid instead of useId?
Of course, I understand the decision to use the latest react features. However, I believe that the process of migrating to the latest versions will continue for some time in existing projects. So I think that backwards compatibility will be a great value.
Uh oh!
There was an error while loading. Please reload this page.
Hi, thanks for the good work your library is doing a great job. However, I have a problem.
Describe the bug
I get a warning during the build.
Version of Package
5.5.1
Context
In my project we are using react 17.x.
useId
which you are using was introduced in react 18.I believe it is cause of the issue.
Is there any change to use eg. uuid instead of
useId
?Of course, I understand the decision to use the latest react features. However, I believe that the process of migrating to the latest versions will continue for some time in existing projects. So I think that backwards compatibility will be a great value.
please see my PR: #907
The text was updated successfully, but these errors were encountered: