react-use-storage
JSON →React hook for syncing state with localStorage and sessionStorage. Current version 0.5.1, stable and feature-complete. Provides two hooks: useLocalStorage and useSessionStorage, each returning a [value, setter, remover] tuple similar to useState. Values are automatically synchronized across tabs/windows via the storage event. Differentiator: simple API with no dependencies beyond React 16.8+. Ships TypeScript definitions. Low release cadence, actively maintained.
Resources
packagereact-use-storage ↗
API endpoints
full doc /v1/registry/react-use-storage