v19.5.0
- ✨ new
defaultServerValue
option — setting this will provide a different value while server-rendering and hydrating bfc68fa- thanks to @BatuhanTopcu for the PR!
https://github.com/astoilkov/use-local-storage-state/compare/v19.4.1...v19.5.0
v19.4.1
- 🐜 small improvements to the project structure
https://github.com/astoilkov/use-local-storage-state/compare/v19.4.0...v19.4.1
v17.4.0
- 🔀 loosen up peer dependencies version range, resolve #70 a53b54e
https://github.com/astoilkov/use-local-storage-state/compare/v17.3.0...v17.4.0
v19.4.0
- 🐛
removeItem()
reference isn't stable — #69 thanks @iamkd 2c604b2
https://github.com/astoilkov/use-local-storage-state/compare/v19.3.1...v19.4.0
v19.3.1
- 🐜 minor improvements that don't affect end users
https://github.com/astoilkov/use-local-storage-state/compare/v19.3.0...v19.3.1
v19.3.0
- ✨ 🐎 better performance — don't re-render when
localStorage
is holding thedefaultValue
010a16e - ✨ 🐎 smaller bundle size 81d2603 5b2cf891e890168935e10b559486a6973a0abd49 b2d9e0caba1f9bea619b149fea64f01bd54ff04d
- ✅ new tests 96369f8952ad43df0bcf880e2897100fefa88c7a 010a16e3e0adef0ea07d02365c3d82bbaa3780e9 81d26038964611c90e5622b7329019c94887cafc
Here's a visual of how bundle size for use-local-storage-state
has changed over time:
https://github.com/astoilkov/use-local-storage-state/compare/v19.2.0...v19.3.0
v19.2.0
- ✨
9%
smaller bundle size 366bb10
https://github.com/astoilkov/use-local-storage-state/compare/v19.1.0...v19.2.0
19.1.0
- 🐛
defaultValue
option is not provided in IntelliSense 5e83634 - ♻️ transition from Jest → Vitest b5e0c56
https://github.com/astoilkov/use-local-storage-state/compare/v19.0.4...v19.1.0
19.0.4
- 🔥 remove main field a51ee3a
https://github.com/astoilkov/use-local-storage-state/compare/v19.0.3...v19.0.4
19.0.3
- 🐛 Next.js build error: targets must start with "./", fix #63 ccefd2d
- 🏗 🔥 remove node version 14 support from CI action d8782de
https://github.com/astoilkov/use-local-storage-state/compare/v19.0.2...v19.0.3