Under Construction

This section is incomplete, please see the old docs for useId.

useId is a hook for generating unique IDs that are stable across the server and client, while avoiding hydration mismatches.

const id = useId();

    Pitfall

    useId is not for generating keys in a list. Keys should be generated from your data.