Releases: swan-io/chicane
Releases · swan-io/chicane
0.4.0
- Add
useBlocker
hook to block navigation
- Expose
encodeSearch
and decodeSearch
- Fix incorrect
JSON.parse
call on an undefined
route object
0.3.1
- Fix type extraction for routes with path and hash, but no search params (d58bd7b)
0.3.0
- Expose
unsafeNavigate
and unsafeReplace
as escape hatches (+ add en example with a Redirect
component)
- Improve
useLink
logic
0.2.0
- Merge
url
in location
object (drop the useURL
hook in favour of useLocation
)
- Prevent some unnecessary re-renders caused by new params objects instances