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