v2.1.0-alpha
absurdprofit
released this
12 Feb 15:31
·
292 commits
to main
since this release
V2.1.0-alpha
Features
- Option to enable memory routing meaning instead of relying on the
popstate
event and the browserwindow.location
routing is done completely in memory. One thing to note is thatwindow.location.pathname
will always be'/'
so it is better to just check location on the navigator prop passed to your screen. Essentially it's justwindow.location
with pathname being filled in from memory.