Open ahedderich opened 8 years ago
+1 Having the same issue, would love to have the ability to register multiple callbacks.
My use case is that I'm using a third party router based on Page.js. That router uses the page('*', routerCallback)
, now if I register my callback the original router stops working.
I think the solution here would be to unregister a route.
Is it somehow possible to register two callbacks for a route or get and set the current callback for it? My problem is to register a route at the start but dynamically change it's behavior later.