Skip to content

Releases: swan-io/chicane

0.4.0

16 Nov 18:07
Compare
Choose a tag to compare
  • Add useBlocker hook to block navigation
  • Expose encodeSearch and decodeSearch
  • Fix incorrect JSON.parse call on an undefined route object

0.3.1

10 Nov 18:39
Compare
Choose a tag to compare
  • Fix type extraction for routes with path and hash, but no search params (d58bd7b)

0.3.0

04 Nov 17:17
b4ff001
Compare
Choose a tag to compare
  • Expose unsafeNavigate and unsafeReplace as escape hatches (+ add en example with a Redirect component)
  • Improve useLink logic

0.2.0

25 Oct 08:51
8dc30f9
Compare
Choose a tag to compare
  • Merge url in location object (drop the useURL hook in favour of useLocation)
  • Prevent some unnecessary re-renders caused by new params objects instances

0.1.0

24 Oct 13:09
Compare
Choose a tag to compare
  • Initial release