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

Async component teleport is not rendered in SSR #4440

Closed
frandiox opened this issue Aug 25, 2021 · 2 comments
Closed

Async component teleport is not rendered in SSR #4440

frandiox opened this issue Aug 25, 2021 · 2 comments
Labels

Comments

@frandiox
Copy link

Version

3.2.6

Reproduction link

https://github.com/frandiox/vue-teleport-ssr-issue

Steps to reproduce

  1. yarn && yarn dev
  2. Open localhost:3000

What is expected?

AsyncComponent teleport element should be rendered and included in ctx.teleports.

What is actually happening?

It is not included in ctx.teleports, but appears in ctx.__teleportBuffers (check server logs).


I was trying to support teleports in vite-ssr library and I found this issue when using async routes in vue-router. Turns out any async component triggers it.
If you remove the async setup from AsyncComponent, it starts working.

@awacode21
Copy link

awacode21 commented Mar 21, 2022

@LinusBorg This is an issue since August. There is a provided fix since end of December. Is there any chance that the PR will be merged soon?

@yyx990803
Copy link
Member

closed by #5187

@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants