-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Rewrite componentId to support react17 #2545
Rewrite componentId to support react17 #2545
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 3a7b972:
|
@plouc , would be great if this could be merged and released. |
Thanks for the PR, waiting for this to land |
Hello! When will we be able to enjoy these changes? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you for the fix @Alex-Spike! |
Thank you for pushing these changes into the package @plouc! |
Rewrite componentId to support react17
Issue: #2536
I fully understand the benefits of react useId hook but it doesn't work for react 17. As in new versions this lib resolved all vulnerabilities issues it will be great to support react 17 as well. I’ve just rewritten it to "lodash/uniqueId" and then it can be supported for all versions.
Thank you