Skip to content

Improve in-component guard examples #1704

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

Merged
merged 2 commits into from
Oct 11, 2017
Merged

Improve in-component guard examples #1704

merged 2 commits into from
Oct 11, 2017

Conversation

LinusBorg
Copy link
Member

The section about in-component navigation guards regularly seems to confuse people. We have had several issues and topics on the forum where people tried to passing a callback to next() in beforeRouteUpdate, event though it has access to this and therefore doesn't support that callback.

Examples:

@posva
Copy link
Member

posva commented Oct 8, 2017

I think that we should support the callback everywhere for consistency though

@posva posva added the docs label Oct 8, 2017
@yyx990803 yyx990803 merged commit 3b16bf1 into dev Oct 11, 2017
@posva posva deleted the LinusBorg-patch-1 branch January 10, 2018 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants