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

feat(server-renderer): render suspense #727

Merged
merged 2 commits into from
Mar 9, 2020

Conversation

dsseng
Copy link
Contributor

@dsseng dsseng commented Feb 15, 2020

Resolves #718.

@dsseng dsseng requested a review from yyx990803 February 15, 2020 06:04
@yyx990803 yyx990803 force-pushed the feat/ssr-suspense branch from f03c271 to 4ab6ea6 Compare March 9, 2020 22:17
@yyx990803 yyx990803 merged commit 589aeb4 into vuejs:master Mar 9, 2020
@dsseng dsseng deleted the feat/ssr-suspense branch March 10, 2020 05:06
@takechihorn
Copy link

Hi
I'm currently struggling to invoke this Suspense function for Vitesse SSR App in server side. (App:https://github.com/frandiox/vitesse-ssr-template)
Are there any better effects to use Suspense in server side rather than in client side.
I confirmed Suspense is available in client side, but HTML Component surrounded by Suspense tag would disappear if I rendered it.
So, I'm wondering to use Suspense in server side to eliminate SEO risks.

@posva
Copy link
Member

posva commented Mar 10, 2021

Hi @takechihorn, you can ask questions on the forum, the Discord server or StackOverflow.

@takechihorn
Copy link

Hi @posva Thank you for your response, ok i'll send my question to the forum, and StackOverflow.

@frandiox
Copy link

@takechihorn You can follow this issue to find an example of vite-ssr with Suspense: frandiox/vite-ssr#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Suspense in SSR
5 participants