[react] Use React's useId
hook once React 18 is live
#1009
MichaelDeBoey
started this conversation in
Ideas
Replies: 2 comments
-
I guess it's time to start using the react useId hook 🚀 |
Beta Was this translation helpful? Give feedback.
0 replies
-
We now use this hook in the latest |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since the
useId
hook will be available in React 18, the customuseId
hook can be deprecated once it's live.Ref: reactwg/react-18#111
Ref: https://reactjs.org/docs/hooks-reference.html#useid
Beta Was this translation helpful? Give feedback.
All reactions