Releases: nas5w/use-local-storage
Releases · nas5w/use-local-storage
Release v3.0.0
Release v2.3.6
- Fixes bug where the hook would attempt to serialize
undefined
. Now,undefined
removes the item from local storage.
Version 2.2.6
Instead of logging to the console that window
is undefined, we just do a check for window
first and fail silently if it's not available. This makes SSR builds a bit cleaner.
Bump jest major version and some dev deps security warnings
v2.2.5 Bump trivial version
Bump parse path dependency
v2.2.4 Bump trivial version
Dependency update
Bump dependency version
Release v2.2.1
- Adds storage event listener to allow syncing across tabs
Release v2.1.1
- Move
react
dependency to peerDependency - Only require React v16.8.1 or later as a peer dependency since that's when hooks were released
Release v2.0.0
- Simplify hook interface to disallow changing of
key
. - Bumped major version number to 2 since this changes the interface.
Release v1.1.0
- Allows for callback function in value setter