Typed sessionStorage hook. Value is scoped to the current tab and is not shared across tabs (sessionStorage semantics).
sessionStorage key.
Value used when the key is absent or unreadable.
Optional serialization config.
[value, setValue, remove]
Typed sessionStorage hook. Value is scoped to the current tab and is not shared across tabs (sessionStorage semantics).