We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HYDRATE_EVENTS
1 parent 421a70d commit de62cc0Copy full SHA for de62cc0
packages/runtime-core/src/renderer.ts
@@ -2105,7 +2105,7 @@ function baseCreateRenderer(
2105
const c1 = ch1[i] as VNode
2106
const c2 = (ch2[i] = cloneIfMounted(ch2[i] as VNode))
2107
if (c2.shapeFlag & ShapeFlags.ELEMENT && !c2.dynamicChildren) {
2108
- if (c2.patchFlag <= 0) {
+ if (c2.patchFlag <= 0 || c2.patchFlag === PatchFlags.HYDRATE_EVENTS) {
2109
c2.el = c1.el
2110
}
2111
traverseStaticChildren(c1, c2)
0 commit comments