Skip to content

Releases: astoilkov/use-local-storage-state

v7.0.0-4

21 Jan 21:01
Compare
Choose a tag to compare
v7.0.0-4 Pre-release
Pre-release
  • πŸ§ͺ experiment with exporting useLocalStorageState 71dfa03

v7.0.0-3...v7.0.0-4

v7.0.0-3

21 Jan 20:40
Compare
Choose a tag to compare
v7.0.0-3 Pre-release
Pre-release
  • πŸ— πŸ› "module": "." didn't work, trying with empty string d163ab5

v7.0.0-2...v7.0.0-3

v7.0.0-2

21 Jan 20:28
Compare
Choose a tag to compare
v7.0.0-2 Pre-release
Pre-release
  • πŸ— πŸ› it seems "module" fields point to the folder where the ESM is db7007a

v7.0.0-1...v7.0.0-2

v7.0.0-1

21 Jan 18:45
Compare
Choose a tag to compare
v7.0.0-1 Pre-release
Pre-release
  • πŸ— 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

21 Jan 17:56
Compare
Choose a tag to compare
v7.0.0-0 Pre-release
Pre-release
  • πŸ— 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.3

05 Jan 10:40
Compare
Choose a tag to compare
  • πŸ› Calling setState with a callback as a value doesn't work, resolves #18 e4c084e

v6.0.2...v6.0.3

v6.0.2

23 Dec 18:58
Compare
Choose a tag to compare
  • πŸ› changing the "key" property doesn't update the localStorage property, fixes #17 603a47a

v6.0.1...v6.0.2

v6.0.1

20 Dec 17:33
Compare
Choose a tag to compare
  • πŸ› 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

31 Oct 20:18
Compare
Choose a tag to compare
  • πŸ”€ 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

v5.1.0

12 Oct 12:44
Compare
Choose a tag to compare
  • πŸ› hook breaks if defaultValue parameter changes f9cde7b
  • πŸ› handle parsing error in storage event be71bbc

v5.0.0...v5.1.0