issues
search
astoilkov
/
use-local-storage-state
React hook that persists data in localStorage
MIT License
1.17k
stars
41
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
On error 2
#76
dwjohnston
opened
1 week ago
0
Adds onError with just the ability to change the fall back value, cus…
#75
dwjohnston
opened
1 week ago
0
add defaultServerValue property
#74
BatuhanTopcu
closed
1 week ago
12
Provide more of a warning if the the parsing/serializing is failing.
#73
dwjohnston
opened
2 weeks ago
7
Make change exporting both cjs and esm
#72
dwjohnston
closed
1 week ago
0
Please provide a CJS export.
#71
dwjohnston
closed
1 week ago
6
Single version to support React 17 and 18
#70
chkp-michaelo
closed
1 month ago
3
move removeItem to useCallback
#69
iamkd
closed
3 months ago
1
Add `enable` option
#68
zdila
closed
4 months ago
2
Suspense error when using with another library
#67
nick-tw
closed
7 months ago
10
Error: is not a function or its return value is not iterable
#66
utkugunal
closed
10 months ago
2
Support for sessionStorage
#65
JanStevens
closed
10 months ago
1
Migrating from `createLocalStorageStateHook`
#64
FarazPatankar
closed
1 year ago
4
Next.js build error: targets must start with "./"
#63
onepunchcat
closed
1 year ago
2
block all cookies in safari breaks the hook
#62
bobaaaaa
closed
1 year ago
9
✨ Make package ESM only
#61
astoilkov
closed
1 year ago
0
Could not find a declaration file for module 'use-local-storage-state'.
#60
diegohaz
closed
1 year ago
7
fix(compat): fix compatibility for vitest
#59
smeng9
closed
1 year ago
5
Latest version on npm is 17.3.0, rather than 18.2.0
#58
dumbmatter
closed
1 year ago
3
Support functional lazy initializer
#57
mifi
closed
1 year ago
5
React 18: value only is available on 2nd render cycle
#56
turingmachine
closed
1 year ago
13
Seems to be trying to fetch from local storage before window is defined in React/Next SSR environment
#55
gDub74
closed
2 years ago
6
usage with reducer
#54
SimonVanherweghe
closed
2 years ago
2
Usage Example contains "ssr: true", which does not appear to be a valid option
#53
dkershner6
closed
2 years ago
1
Return isPossiblyHydrating
#52
saiichihashimoto
closed
2 years ago
4
need guidance for using sessionStorage also
#51
rhythmbhiwani
closed
2 years ago
3
Hydration error with ssr:true using NextJS
#50
nepomuc
closed
2 years ago
7
Support superjson serialization
#49
tianhuil
closed
2 years ago
10
I have a problem using the use-local-storage-state
#48
marcosvspimenta
closed
2 years ago
7
React 18 support (created by library author)
#47
astoilkov
closed
2 years ago
8
Persist in localStorage, but do not upgrade React state
#46
rwieruch
closed
2 years ago
5
Does not respond to changes to localStorage made elsewhere in the application
#45
tnrich
closed
2 years ago
2
Setter in useEffect dependencies array always changes
#44
martinsantibanez
closed
2 years ago
5
Async storage lookup/default value issue
#43
strarsis
closed
2 years ago
20
Additional type exports
#42
paulmelnikow
closed
2 years ago
4
:sparkles: opt out of cross-tab sync
#41
martinsantibanez
closed
2 years ago
9
Adding a `isLoading` property to `LocalStorageProperties`
#40
jpb06
closed
2 years ago
7
State in local storage not restored after page reload with SSR
#39
Bradzer
closed
2 years ago
5
[v14] How to use a value from another hook as a default value?
#38
discosultan
closed
2 years ago
4
"ReferenceError: localStorage is not defined" when upgrading to v14.0.0
#37
ha-ku
closed
2 years ago
7
[34] Add homepage link to package.json
#35
snelsi
closed
2 years ago
1
[Suggestion] Add github repo link to package.json
#34
snelsi
closed
2 years ago
1
Default value ignores/overwrites previous localStorage state
#33
tnrich
closed
2 years ago
15
Returned value should be unknown type
#32
chrbala
closed
3 years ago
4
Debouncing updates produces weird behaviour
#31
h3rmanj
closed
3 years ago
5
Hooks sets localStorage value to string 'undefined' rather than doing nothing.
#30
ozyman42
closed
3 years ago
2
Update readme.md
#29
bmeunier1974
closed
3 years ago
1
expose storage object
#28
Fxlr8
closed
3 years ago
6
react native support
#27
saleehk
closed
3 years ago
8
state is not persisted to LS during initial render with defaultValue
#26
quantizor
closed
3 years ago
5
Next