React Utils
useMergeRefs()
Merges an array of refs, returning a memoized callback ref or
null
.
useId()
Uses React 18’s built-in useId()
when available, or falls
back to a slightly less performant (requiring a double render)
implementation for earlier React versions.