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

Documentation: Update guard example to avoid stack overflow #3129

Merged
merged 3 commits into from Feb 23, 2020

Conversation

NoelDeMartin
Copy link
Contributor

I am surprised that this hasn't been brought up before, so maybe I am doing something wrong. But I am getting a "too much recursion" error with the sample code in the documentation.

Looking at the code, it seems to me like getting a stack overflow is the expected behaviour. May this be a schrödinbug?

@NoelDeMartin
Copy link
Contributor Author

It doesn't look like the failed tests have anything to do with my change.

docs/guide/advanced/navigation-guards.md Outdated Show resolved Hide resolved
NoelDeMartin and others added 2 commits February 23, 2020 09:45
Co-Authored-By: Eduardo San Martin Morote <posva@users.noreply.github.com>
@posva posva merged commit 8fdd9c5 into vuejs:dev Feb 23, 2020
@posva
Copy link
Member

posva commented Feb 23, 2020

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants