Releases: asmyshlyaev177/state-in-url
Releases · asmyshlyaev177/state-in-url
v4.1.3
What's Changed
Bug Fixes
- Rate limits for
history.pushState
andhistory.replaceState
- Fix issue with minification,
terser
doing it incorrectly, useesbuild
instead
Full Changelog: v4.1.0...v4.1.3
v4.1.0
What's Changed
Features
- return
reset
cb from useUrlState, it can reset state and URL to default 68fc693
Bug Fixes
Performance Improvements
- minor performance improvements, regex in
.replace
(b89406d)
Other
- use first argument for
defaultState
and second as object with other options (b896d5f) - return urlState as normal type, not readonly (a0aa6dd)
Full Changelog: v4.0.0...v4.1.0
v4.0.0
Way faster URL updates, using native window.history
by default for Next.js, to avoid _rsc requests and keep performance.
Full Changelog: v3.1.0...v4.0.0
v3.0.0
What's Changed
useUrlState
hook for React-router by @asmyshlyaev177 in #10
Full Changelog: v2.6.0...v3.0.0