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

suspense.resolve() is called without a pending branch #13320

Closed
gijsroge opened this issue Feb 1, 2022 · 3 comments
Closed

suspense.resolve() is called without a pending branch #13320

gijsroge opened this issue Feb 1, 2022 · 3 comments

Comments

@gijsroge
Copy link

gijsroge commented Feb 1, 2022

Environment

------------------------------
- Operating System: `Linux`
- Node Version:     `v14.17.5`
- Nuxt Version:     `3.0.0-27369360.33ebb01`
- Package Manager:  `yarn@1.22.11`
- Bundler:          `Vite`
- User Config:      `publicRuntimeConfig`, `build`, `vite`
- Runtime Modules:  `-`
- Build Modules:    `-`
------------------------------

Reproduction

https://github.com/gijsroge/vue-suspense-bug

Start dev server and follow instructions

Describe the bug

Switching between two route's that both have either async data or defineAsyncComponent's causes suspense pending issues.

Additional context

I'm not sure if this is a Nuxt issue or not. If it's not I'm happy to rewrite the test case without Nuxt and report it on the Vue issue tracker.

Logs

No response

@danielroe
Copy link
Member

I believe this is likely an upstream issue. Would you try to rewrite the case without Nuxt? You might find https://stackblitz.com/github/nuxt-contrib/vue3-ssr-starter helpful as a starting point.

And also see vuejs/core#5513, which may be related.

@gijsroge
Copy link
Author

@danielroe will do

@danielroe
Copy link
Member

Any update on this? Were you able to confirm?

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants