-
-
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
Nested routes + <Suspense>
triggers Vue unhandled error
#1319
Comments
This reminds me of an error with Suspense in core but I couldn't find the issue. I will have to take a look see if it's specific to router. This will be necessary for |
(Possibly) related issue: nuxt/nuxt#13350 (which occurs if you add |
Managed to reproduce with a smaller version without Vue Router:
Ideally, there should be a way to pin the provided route at the |
We've hit this error in our app too. I tried using I'm looking at your linked workaround above ( |
This comment was marked as spam.
This comment was marked as spam.
Seems like this has been fixed with vuejs/core#6736 |
Version
4.0.12
Reproduction link
stackblitz.com
Steps to reproduce
When there are nested routes in which each nested RouterView has its own Suspense, navigating again before suspense resolves triggers a Vue internals bug.
Click the navigate button multiple times in succession. You should see the following errors:
What is expected?
I'm expecting that there would not be an error.
What is actually happening?
There is an error.
I'm raising this here but please let me know if you think this isn't an issue with the router and is in fact a vue core bug.
The text was updated successfully, but these errors were encountered: