Releases: astoilkov/use-local-storage-state
Releases Β· astoilkov/use-local-storage-state
v7.0.0-1
- π add "module" field in package.json in order for Bundle Phobia to detect and show Exports Analysis cef5f52
v7.0.0-0...v7.0.0-1
v7.0.0-0
- π embrace ESM modules f4b2f81
- β¨ smaller module size
- β¨ tree shaking support
- π divide code into files, it's more easy to understand now
v6.0.3...v7.0.0-0
v6.0.1
- π setState() doesn't always update the localStorage value, resolves #16 723ac45
- π don't run defaultValue callback more than once 6789591
- π isPersistent should be true after storage event 0a725c7
v6.0.0...v6.0.1
v6.0.0
- π
defaultValue
can't no longer be updated (the same way as useState()
)
- β
add one more test to check if
setState
property changes during re-renders
v5.1.0...v6.0.0