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

slot with always-true condition is not rendered on ssr #12438

Open
danielroe opened this issue Nov 19, 2024 · 0 comments · May be fixed by #12441
Open

slot with always-true condition is not rendered on ssr #12438

danielroe opened this issue Nov 19, 2024 · 0 comments · May be fixed by #12441
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: ssr

Comments

@danielroe
Copy link
Member

Vue version

3.5.12

Link to minimal reproduction

https://stackblitz.com/edit/github-bgizhu-bvt2ew

Steps to reproduce

Refresh the page - you will see a flash as the SSR content is replaced with client-side content.

What is expected?

There should be no mismatch between server + client render.

What is actually happening?

The server is not rendering a slot even though the condition is true.

System Info

No response

Any additional comments?

No response

@edison1105 edison1105 added scope: ssr 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. labels Nov 20, 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: ssr
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants