File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,7 @@ function renderClassComponent(vnode, context) {
99
99
c . state = c [ NEXT_STATE ] !== c . state ? c [ NEXT_STATE ] : c . state ;
100
100
}
101
101
102
- // let renderHook = options[RENDER];
103
102
if ( renderHook ) renderHook ( vnode ) ;
104
- // if (options[RENDER]) options[RENDER](vnode);
105
103
106
104
return c . render ( c . props , c . state , context ) ;
107
105
}
Original file line number Diff line number Diff line change @@ -133,7 +133,6 @@ function _renderToStringPretty(
133
133
! nodeName . prototype ||
134
134
typeof nodeName . prototype . render !== 'function'
135
135
) {
136
- // let cctx = getContext(nodeName, context);
137
136
138
137
// If a hook invokes setState() to invalidate the component during rendering,
139
138
// re-render it up to 25 times to allow "settling" of memoized states.
@@ -150,7 +149,6 @@ function _renderToStringPretty(
150
149
rendered = nodeName . call ( vnode . __c , props , cctx ) ;
151
150
}
152
151
} else {
153
- // let cctx = getContext(nodeName, context);
154
152
155
153
// c = new nodeName(props, context);
156
154
c = vnode . __c = new nodeName ( props , cctx ) ;
You can’t perform that action at this time.
0 commit comments