-
Notifications
You must be signed in to change notification settings - Fork 249
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
Destination route hooks being executed from navigate when callHandler is false #265
Comments
@rjgamble looks like a bug yes. Will try to fix it today. |
@rjgamble instead of restricting the hooks because
You don't have to specify |
New version 👉 |
Hi @krasimir, thanks for taking a look. I upgraded to 8.6.3 and retested. It is working as expected when passing Thanks for the tip regarding the default values for the other navigate options. |
Hi @krasimir, following on from the issue I was seeing previously when using
navigate(route, options)
in abefore
hook. #262I have noticed that the
before
hook is being executed in the destination route when I userouter.navigate(route, options)
even when I setcallHandler
tofalse
. Given the below example:The output I'm seeing from this is:
Notice, I only hit the
before
hook for routeB but not theafter
hook.What I am expecting to happen is here is that because I've set
callHandler
tofalse
, I don't execute any of the route lifecycle for routeB.The text was updated successfully, but these errors were encountered: