-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
useId
instead of React internals (#3254)
* Use `useId` instead of React internals These may break in any React release which may result in blocking the ecosystem from seemlessly upgrading to new React releases. We can use `useId` instead which is available since React 18. * inline `useId` hook No need to use `useStableCollectionKey` anymore * reformat comment * update changelog --------- Co-authored-by: Robin Malfait <[email protected]>
- Loading branch information
1 parent
025e115
commit 3070ad9
Showing
2 changed files
with
5 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters