The Open Standard for Generative UI
import { useMemo } from "react"; export const useId = () => { return useMemo(() => crypto.randomUUID(), []); };