Provides a ref-variable (like useRef) but also stores it value in the local storage and is used like useState.
type of the ref-variable
the name/key for the storage value
default value
{[T, Dispatch<SetStateAction>]} [value,setter] array like when using useState
Generated using TypeDoc
Provides a ref-variable (like useRef) but also stores it value in the local storage and is used like useState.