Last updated 26 days ago
Was this helpful?
/ useLocalStorage
useLocalStorage<T>(key, defaultState): [T, Dispatch<SetStateAction<T>>]
T
key
defaultState
Dispatch
SetStateAction
Defined in:
string
[T, Dispatch<SetStateAction<T>>]