Skip to content

Commit 731b498

Browse files
committed
types: remove unecessary lines
1 parent 0bc2c34 commit 731b498

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core/instance/lifecycle.js

-3
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ export function lifecycleMixin (Vue: Class<Component>) {
6060
if (!prevVnode) {
6161
// initial render
6262
vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */)
63-
// no need for the ref nodes after initial patch
64-
// this prevents keeping a detached DOM tree in memory (#5851)
65-
vm.$options._parentElm = vm.$options._refElm = null
6663
} else {
6764
// updates
6865
vm.$el = vm.__patch__(prevVnode, vnode)

0 commit comments

Comments
 (0)