- Preparing search index...
- The search index is not available
@escolalms/sdk
- useLocalStorage<T>(storeKey: string, key: string, initialValue: T, ssrHydration?: boolean): readonly [T, ((value: T | ((val: T) => T)) => void)]
-
Parameters
-
storeKey: string
-
key: string
-
initialValue: T
-
ssrHydration: boolean = false
Returns readonly [T, ((value: T | ((val: T) => T)) => void)]