3 snippets
Typed, SSR-safe localStorage wrapper with JSON serialization that never throws.
Checks if a specific item exists in localStorage.
Retrieves a value from localStorage by key and parses it.