]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove unnecessary statements
authorEvan You <yyx990803@gmail.com>
Tue, 12 Dec 2023 15:47:38 +0000 (23:47 +0800)
committerEvan You <yyx990803@gmail.com>
Tue, 12 Dec 2023 15:47:38 +0000 (23:47 +0800)
packages/runtime-core/src/renderer.ts

index 0411072671994c3929c695684f877936a443b70c..b0eb1844ed99277a1a7d9950a9ae870a68e0824b 100644 (file)
@@ -1459,12 +1459,10 @@ function baseCreateRenderer(
           // this will cause crash because we don't know the root node yet
           if (nonHydratedAsyncRoot) {
             // only sync the properties and abort the rest of operations
-            toggleRecurse(instance, false)
             if (next) {
               next.el = vnode.el
               updateComponentPreRender(instance, next, optimized)
             }
-            toggleRecurse(instance, true)
             // and continue the rest of operations once the deps are resolved
             nonHydratedAsyncRoot.asyncDep!.then(() => {
               // the instance may be destroyed during the time period