Use Local Storage State Versions Save

React hook that persists data in localStorage

v18.3.0

1 year ago
  • Merge pull request #59 from smeng9/patch-2 815f344

https://github.com/astoilkov/use-local-storage-state/compare/v18.2.1...v18.3.0

v18.2.1

1 year ago

v17.3.0

1 year ago
  • ✨ Support functional lazy initializer #57 99cbe31

https://github.com/astoilkov/use-local-storage-state/compare/v17.2.0...v17.3.0

v18.2.0

1 year ago
  • ✨ Support functional lazy initializer #57 5f55884

https://github.com/astoilkov/use-local-storage-state/compare/v18.1.2...v18.2.0

v18.1.2

1 year ago
  • ✏️ improve docs
  • ✏️ fix badge
  • 🏗 simpler condition + less bundle size b3cfa46

https://github.com/astoilkov/use-local-storage-state/compare/v18.1.1...v18.1.2

v18.1.1

1 year ago
  • ✨ Throw an error when React 17 is used with the React 18 version. The message includes a way to fix it by installing the 17 version of the hook. e6cf1ad

https://github.com/astoilkov/use-local-storage-state/compare/v18.1.0...v18.1.1

v18.1.0

1 year ago
  • ✨ new options.serializer option
  • ✨ export LocalStorageOptions type 4f82a84
  • 🏗 move to GitHub actions for CI
  • ✏️ remove Alternatives section from readme because these aren't good alternatives 7469924

https://github.com/astoilkov/use-local-storage-state/compare/v18.0.0...v18.1.0

v18.0.0

1 year ago
  • ✨ React 18 support
  • 🔀 For React 17 support, you should do npm install use-local-storage-state@17. See the react-17 branch.
  • 🔀 Removed ssr option. It's no longer needed. SSR is always enabled.

https://github.com/astoilkov/use-local-storage-state/compare/v18.0.0-0...v18.0.0

v17.2.0

1 year ago
  • 🔀 rename crossSync option to storageSync 0ced3cb

https://github.com/astoilkov/use-local-storage-state/compare/v17.1.0...v17.2.0