mirror of https://github.com/vuejs/core.git
chore: remove unnecessary statements
This commit is contained in:
parent
85c804092f
commit
96aeb24d66
|
@ -1459,12 +1459,10 @@ function baseCreateRenderer(
|
||||||
// this will cause crash because we don't know the root node yet
|
// this will cause crash because we don't know the root node yet
|
||||||
if (nonHydratedAsyncRoot) {
|
if (nonHydratedAsyncRoot) {
|
||||||
// only sync the properties and abort the rest of operations
|
// only sync the properties and abort the rest of operations
|
||||||
toggleRecurse(instance, false)
|
|
||||||
if (next) {
|
if (next) {
|
||||||
next.el = vnode.el
|
next.el = vnode.el
|
||||||
updateComponentPreRender(instance, next, optimized)
|
updateComponentPreRender(instance, next, optimized)
|
||||||
}
|
}
|
||||||
toggleRecurse(instance, true)
|
|
||||||
// and continue the rest of operations once the deps are resolved
|
// and continue the rest of operations once the deps are resolved
|
||||||
nonHydratedAsyncRoot.asyncDep!.then(() => {
|
nonHydratedAsyncRoot.asyncDep!.then(() => {
|
||||||
// the instance may be destroyed during the time period
|
// the instance may be destroyed during the time period
|
||||||
|
|
Loading…
Reference in New Issue