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. #7506

Open
semiworks opened this issue Jan 11, 2023 · 3 comments · May be fixed by #11471
Open

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

semiworks opened this issue Jan 11, 2023 · 3 comments · May be fixed by #11471
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: suspense

Comments

@semiworks
Copy link

Vue version

3.2.45

Link to minimal reproduction

https://codesandbox.io/s/vue-router-playground-forked-w9164p?file=/src/pages/Page2.vue

Steps to reproduce

Create an application with vue and vue-router and the suspense component.

When creating a page, during the setup function navigate to another page (in my case this is how I handle an error) than this error is triggered.

What is expected?

Just no error message from vue / Suspense.

What is actually happening?

I get the following error message:

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

Nevertheless I can keep on using the application without any problems. I just want to get rid of the error message.

System Info

No response

Any additional comments?

No response

@wiseadme
Copy link

wiseadme commented Feb 3, 2023

faced with the same problem

@getlistman
Copy link

@qkreltms
Copy link

Using "window.location.href" could resolve error

@edison1105 edison1105 added the 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: suspense
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants