Add ability for calling navigate without changing the URL.
Closed this issue · 2 comments
athiwatc commented
In a more complex system where you use the routing for everything logic some thing like "router.call('/delete/something')" could be useful.
nlessmann commented
Hi,
thanks for the input! I'm not sure if this is what you're looking for, but there already is resolve(url, method)
- calling this method travels trough all registered routes looking for a match without touching "location.hash".
I'm gonna add this to the readme.
athiwatc commented
Thanks, this is exactly what I'm looking for.