Configuration for device selection persistence.
When enabled, device selections persist across sessions and are restored automatically on subsequent visits.
// Enable persistence with default key<DeviceSelector persistSelection onDeviceChange={setDevices} />// Enable persistence with custom key (useful for multi-user scenarios)<DeviceSelector persistSelection={{ storageKey: `devices-${userId}` }} onDeviceChange={setDevices}/> Copy
// Enable persistence with default key<DeviceSelector persistSelection onDeviceChange={setDevices} />// Enable persistence with custom key (useful for multi-user scenarios)<DeviceSelector persistSelection={{ storageKey: `devices-${userId}` }} onDeviceChange={setDevices}/>
Optional
Custom storage key for persisted device selections.
'hiyve-selected-devices' Copy
'hiyve-selected-devices'
Configuration for device selection persistence.
Remarks
When enabled, device selections persist across sessions and are restored automatically on subsequent visits.
Example