Giters
astoilkov
/
use-local-storage-state
React hook that persists data in localStorage
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
1079
Watchers:
9
Issues:
54
Forks:
39
astoilkov/use-local-storage-state Issues
Add `enable` option
Closed
10 days ago
Comments count
2
React 18: value only is available on 2nd render cycle
Closed
2 years ago
Comments count
13
Suspense error when using with another library
Closed
3 months ago
Comments count
10
Error: is not a function or its return value is not iterable
Closed
6 months ago
Comments count
2
Support for sessionStorage
Closed
6 months ago
Comments count
1
Migrating from `createLocalStorageStateHook`
Closed
10 months ago
Comments count
4
Could not find a declaration file for module 'use-local-storage-state'.
Closed
a year ago
Comments count
4
Next.js build error: targets must start with "./"
Closed
a year ago
Comments count
2
✨ Make package ESM only
Closed
a year ago
block all cookies in safari breaks the hook
Closed
a year ago
Comments count
9
Default value ignores/overwrites previous localStorage state
Closed
3 years ago
Comments count
14
Latest version on npm is 17.3.0, rather than 18.2.0
Closed
a year ago
Comments count
3
Setter in useEffect dependencies array always changes
Closed
2 years ago
Comments count
5
Seems to be trying to fetch from local storage before window is defined in React/Next SSR environment
Closed
2 years ago
Comments count
6
usage with reducer
Closed
2 years ago
Comments count
2
Usage Example contains "ssr: true", which does not appear to be a valid option
Closed
2 years ago
Comments count
1
Session Storage support?
Closed
4 years ago
Comments count
13
need guidance for using sessionStorage also
Closed
2 years ago
Comments count
3
React 18 support (created by library author)
Closed
2 years ago
Comments count
8
I have a problem using the use-local-storage-state
Closed
2 years ago
Comments count
7
Return isPossiblyHydrating
Closed
2 years ago
Comments count
4
Hydration error with ssr:true using NextJS
Closed
2 years ago
Comments count
7
Persist in localStorage, but do not upgrade React state
Closed
2 years ago
Comments count
5
state is not persisted to LS during initial render with defaultValue
Closed
3 years ago
Comments count
5
Can cause hydration mismatch with SSR
Closed
2 years ago
Comments count
23
Does not respond to changes to localStorage made elsewhere in the application
Closed
2 years ago
Comments count
2
Async storage lookup/default value issue
Closed
2 years ago
Comments count
20
State in local storage not restored after page reload with SSR
Closed
2 years ago
Comments count
5
Additional type exports
Closed
2 years ago
Comments count
4
[v14] How to use a value from another hook as a default value?
Closed
2 years ago
Comments count
4
"ReferenceError: localStorage is not defined" when upgrading to v14.0.0
Closed
2 years ago
Comments count
7
[Suggestion] Add github repo link to package.json
Closed
3 years ago
Comments count
1
Returned value should be unknown type
Closed
3 years ago
Comments count
4
react native support
Closed
3 years ago
Comments count
8
Hooks sets localStorage value to string 'undefined' rather than doing nothing.
Closed
3 years ago
Comments count
2
Debouncing updates produces weird behaviour
Closed
3 years ago
Comments count
5
Opt-out of cross-tab syncing?
Closed
3 years ago
Comments count
10
expose storage object
Closed
3 years ago
Comments count
6
Enhancment: use window.name as fallback
Closed
3 years ago
Comments count
5
[Proposal] Set target to ES5
Closed
3 years ago
Comments count
10
Unable to access data stored on localstorage on NextJS after reloading the page
Closed
3 years ago
Comments count
5
ESM "type": "module" throwing ERR_REQUIRE_ESM
Closed
3 years ago
Comments count
5
Calling setState with a callback as a value doesn't work
Closed
4 years ago
Comments count
6
Endless loop on update and useEffect
Closed
4 years ago
Comments count
1
setState() doesn't always update the localStorage value
Closed
4 years ago
Comments count
4
useEffect do not fire when cart state is updated
Closed
4 years ago
Comments count
2
Edge-Case, problem with refreshing from localStorage if key changes
Closed
4 years ago
Comments count
2
Add support to removeItem
Closed
4 years ago
Comments count
10
Compiler target causing error in Edge (non-Chromium)
Closed
4 years ago
Comments count
3
useEffect run on every render
Closed
4 years ago
Comments count
1
Previous
Next