mirror of https://github.com/vuejs/core.git
perf: directly update currentHydrationNode
This commit is contained in:
parent
679a67dbba
commit
59ac4d85da
|
@ -142,7 +142,7 @@ function adoptTemplateImpl(node: Node, template: string): Node | null {
|
||||||
node = handleMismatch(node, template)
|
node = handleMismatch(node, template)
|
||||||
}
|
}
|
||||||
|
|
||||||
advanceHydrationNode(node)
|
currentHydrationNode = node.nextSibling
|
||||||
return node
|
return node
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue