Returns the current device ID. A device ID is a unique GUID that is stored in local storage.
const deviceId = useDeviceId();console.log("My device ID is:", deviceId); Copy
const deviceId = useDeviceId();console.log("My device ID is:", deviceId);
Returns the current device ID. A device ID is a unique GUID that is stored in local storage.