Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE REQUEST: pass next() in precondition to decide whether the router should *change* the current route #304

Open
sallliisa opened this issue Jul 14, 2023 · 1 comment

Comments

@sallliisa
Copy link

The current model of the router is regardless of the route passed the pre-condition of each of the route, the actual route still changes. It would be nice and much more coherent i think if I could decide whether to go to the next route or not based off of the precondition that I defined.

@ItalyPaleAle
Copy link
Owner

This can't really be stopped because the navigation happens in the browser. The router can only react to that.

More discussion here: #112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants