useLocalStorageState
See source codefunction useLocalStorageState<T = any>(
key: string,
defaultValue: T
): readonly [T, (setter: ((value: T) => T) | T) => void]
Parameters
Name | Description |
---|---|
|
|
|
|
Returns
readonly [T, (setter: ((value: T) => T) | T) => void]
Prev
useKeyboardShortcutsNext
useMenuClipboardEvents