Typed localStorage hook with optional cross-tab synchronisation.
localStorage key.
Value used when the key is absent or unreadable.
Optional serialization and cross-tab sync config.
[value, setValue, remove]
Typed localStorage hook with optional cross-tab synchronisation.