bug: nuxt / vue hydration errors during v-for
with SSR shadow: true
components
#6120
Closed
3 tasks done
Labels
Prerequisites
Stencil Version
Latest
Current Behavior
Vue places comment nodes (
<!-- [ -->
/<!-- ] -->
) to mark the start and end position of it's for loops.Stencil
shadow: true
components strip out comment nodes during client side hydration after SSR, breaking Vue's hydration.Expected Behavior
Like
scoped: true
components, Stencil should retain comment nodes (in the same order they were originally placed).System Info
Steps to Reproduce
https://github.com/johnjenkins/nuxt-stencil-testing
There are 2 components used, one
scoped: true
and oneshadow: true
, both utilising vue's for loops.The shadow component will throw a hydration error.
Code Reproduction URL
https://github.com/johnjenkins/nuxt-stencil-testing
Additional Information
No response
The text was updated successfully, but these errors were encountered: