import { useSessionStorage } from "https://deno.land/x/netzo@0.5.108/deps/usehooks-ts.ts";
Custom hook for using session storage to persist state across page reloads.
Parameters
optional
options: UseSessionStorageOptions<T>- Options for customizing the behavior of serialization and deserialization (optional).
Returns
[T, Dispatch<SetStateAction<T>>]
A tuple containing the stored value and a function to set the value.