Skip to content

[ssr] hydration error with comment and null value variable interpolation #3245

@rstoenescu

Description

@rstoenescu

Version

3.0.5

Reproduction link

https://github.com/rstoenescu/vue3-ssr-bug-comment-and-null

Steps to reproduce

  1. yarn
  2. yarn dev
  3. Check browser console:
runtime-core.esm-bundler.js:38 [Vue warn]: Hydration children mismatch in <div>: server rendered element contains fewer child nodes than client vdom.
  at <Home onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > >
  at <RouterView>
  at <App>

What is expected?

No hydration errors

What is actually happening?

Hydration error

Metadata

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.🐞 bugSomething isn't workingscope: ssr

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions