useLocalStorage
Get and Set a specific value in the local storage (opens in a new tab).
Type Definitions
const useLocalStorage: <T>(args: {
key: string;
default?: T;
}) => readonly [T | null, React.Dispatch<React.SetStateAction<T | null>>];