Skip to content

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

Open
@danielroe

Description

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

Metadata

Assignees

No one assigned

    Labels

    πŸ”¨ p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: ssr

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions