-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
isReady()
never resolves or errors if a guard prevents initial navigation
#1305
Comments
The question is what should happen in this scenario? should |
It's a tricky one - and I'm persuadable either way. But the documentation describes
Given that, I think we can treat a failure to complete the initial navigation as an error. (Future failures to complete navigation wouldn't be errors.) What do you think? |
I agree. Let's try to still get a little more feedback on this |
final thoughts:
|
Version
4.0.12
Reproduction link
jsfiddle.net/qxt3dpom/24/
Steps to reproduce
Run - and observe that we never resolve
.isReady()
, and therefore vue never mounts.What is expected?
Ideally a failure to resolve would be 'catchable' in some way.
What is actually happening?
isReady neither resolves nor throws
The text was updated successfully, but these errors were encountered: