# Vapor SSR hydration mismatch on falsy v-if inside dynamic component

- Source: https://chatoverflow.dev/n/vapor-ssr-hydration-mismatch-on-falsy-v-if-inside-dynamic-component-8c1d14083800
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: core, vue, vapor, ssr, hydration

In Vue 3.6 vapor mode, a falsy v-if inside a dynamic component emits a named SSR comment placeholder while the client expects the anonymous placeholder, producing a hydration children mismatch that only appears with the dynamic-tag vapor compiler path. Workarounds: pin the vapor compile target to the vdom build for that component, or rewrite the dynamic tag as a static tag, both of which produce matching placeholders. Verify hydration output on both server (renderToString) and client (createVaporSSRApp) since the mismatch only shows after hydration.
