File tree 2 files changed +1
-10
lines changed
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ declare interface Component {
66
66
_isDestroyed: boolean;
67
67
_isBeingDestroyed: boolean;
68
68
_vnode: ?VNode; // self root node
69
- _staticTrees: ?Array< VNode > ;
70
69
_hasHookEvent: boolean;
71
70
_provided: ?Object;
72
71
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import { isUpdatingChildComponent } from './lifecycle'
17
17
18
18
export function initRender ( vm : Component ) {
19
19
vm . _vnode = null // the root of the child tree
20
- vm . _staticTrees = null
21
20
const parentVnode = vm . $vnode = vm . $options . _parentVnode // the placeholder node in parent tree
22
21
const renderContext = parentVnode && parentVnode . context
23
22
vm . $slots = resolveSlots ( vm . $options . _renderChildren , renderContext )
@@ -59,11 +58,7 @@ export function renderMixin (Vue: Class<Component>) {
59
58
60
59
Vue . prototype . _render = function ( ) : VNode {
61
60
const vm : Component = this
62
- const {
63
- render,
64
- staticRenderFns,
65
- _parentVnode
66
- } = vm . $options
61
+ const { render, _parentVnode } = vm . $options
67
62
68
63
if ( vm . _isMounted ) {
69
64
// if the parent didn't update, the slot nodes will be the ones from
@@ -78,9 +73,6 @@ export function renderMixin (Vue: Class<Component>) {
78
73
79
74
vm . $scopedSlots = ( _parentVnode && _parentVnode . data . scopedSlots ) || emptyObject
80
75
81
- if ( staticRenderFns && ! vm . _staticTrees ) {
82
- vm . _staticTrees = [ ]
83
- }
84
76
// set parent vnode. this allows render functions to have access
85
77
// to the data on the placeholder node.
86
78
vm . $vnode = _parentVnode
You can’t perform that action at this time.
0 commit comments