wip(ssr): basic element hydration
This commit is contained in:
@@ -52,7 +52,8 @@ function walk(
|
||||
) {
|
||||
if (!doNotHoistNode && isStaticNode(child, resultCache)) {
|
||||
// whole tree is static
|
||||
;(child.codegenNode as VNodeCall).patchFlag = PatchFlags.HOISTED + ``
|
||||
;(child.codegenNode as VNodeCall).patchFlag =
|
||||
PatchFlags.HOISTED + (__DEV__ ? ` /* HOISTED */` : ``)
|
||||
const hoisted = context.transformHoist
|
||||
? context.transformHoist(child, context)
|
||||
: child.codegenNode!
|
||||
|
||||
Reference in New Issue
Block a user