useLocalStorage
mhl5-registry/useLocalStorageUnverifiedHook
A React hook built on top of `useSyncExternalStore` that synchronizes state with `localStorage`, providing reactive updates across browser tabs and windows.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/MhL5/mhl5.vercel.app/main/useLocalStorage.jsonThis registry does not serve an item endpoint we could read, so we hold its metadata but not its source.
What it pulls in
Other registry items
Files it writes
More from mhl5-registry
All 29 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| useCopyToClipboarduseCopyToClipboard | mhl5-registry | Hooks | Unverified | no deps | |
| useDebounceuseDebounce | mhl5-registry | Hooks | Unverified | no deps | |
| useIntervaluseInterval | mhl5-registry | Hooks | Unverified | no deps | |
| useIsMounteduseIsMounted | mhl5-registry | Hooks | Unverified | no deps | |
| useIsVisibleuseIsVisible | mhl5-registry | Hooks | Unverified | no deps | |
| useMediaQueryuseMediaQuery | mhl5-registry | Hooks | Unverified | no deps | |
| useOnClickOutsideuseOnClickOutside | mhl5-registry | Hooks | Unverified | no deps | |
| useOtpuseOtp | mhl5-registry | Hooks | Unverified | no deps |
