-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
can exit trigger prevent route change? #170
Comments
Yes. It'll soon. We are working on that. On Fri, Jun 19, 2015 at 1:13 AM Jan Hendrik Mangold <
|
I've just implemented it and waiting for others feedback. Could you have a look at this PR. There's a solution for you. |
I checked it with the PR but am not sure how it is supposed to work. Are you saying I should |
Our redirect API need to have a URL everytime. So, you need to give it like above. But, you are doing it in the exit handler, so still may be you are looking for direct |
Yes, I think that would be clean(er). |
Got it. |
I think we will stick with the redirect API. You don't have a stop API. When user came to a exit trigger, stoping the route make no sense. |
OK, closing this issue then |
I am trying to perform a check on route exit that should possible prevent the route to change (like form entries not saved). How can I abort the route change?
The text was updated successfully, but these errors were encountered: