{"library":"react-use-localstorage","type":"library","category":null,"description":"A React hook that synchronizes state with localStorage. Current version 3.5.3 provides a simple useState-like API with automatic persistence. The library has evolved through breaking changes in v3.0.0 (type changes) and v3.4.0 (cross-tab synchronization). Requires React >=16.8.1. Ships TypeScript types. Key differentiator: minimal abstraction over native localStorage, no dependencies beyond React.","language":"javascript","status":"active","version":"3.5.3","tags":["javascript","localStorage","react","hooks","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-use-localstorage","imports":["import useLocalStorage from 'react-use-localstorage'","import useLocalStorage from 'react-use-localstorage'","import type { useLocalStorage } from 'react-use-localstorage'"]},{"cmd":"yarn add react-use-localstorage","imports":[]},{"cmd":"pnpm add react-use-localstorage","imports":[]}],"homepage":"https://github.com/dance2die/react-use-localstorage","github":"https://github.com/dance2die/react-use-localstorage","docs":null,"changelog":null,"pypi":null,"npm":"react-use-localstorage","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}