Reference

useId

Returns a stable id string that matches server and client rendering.

Signature

function useId(): string