Subscribe on changes!

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

avatar
Feb 16th 2021

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