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) {
9999 c . state = c [ NEXT_STATE ] !== c . state ? c [ NEXT_STATE ] : c . state ;
100100 }
101101
102- // let renderHook = options[RENDER];
103102 if ( renderHook ) renderHook ( vnode ) ;
104- // if (options[RENDER]) options[RENDER](vnode);
105103
106104 return c . render ( c . props , c . state , context ) ;
107105}
Original file line number Diff line number Diff line change @@ -133,7 +133,6 @@ function _renderToStringPretty(
133133 ! nodeName . prototype ||
134134 typeof nodeName . prototype . render !== 'function'
135135 ) {
136- // let cctx = getContext(nodeName, context);
137136
138137 // If a hook invokes setState() to invalidate the component during rendering,
139138 // re-render it up to 25 times to allow "settling" of memoized states.
@@ -150,7 +149,6 @@ function _renderToStringPretty(
150149 rendered = nodeName . call ( vnode . __c , props , cctx ) ;
151150 }
152151 } else {
153- // let cctx = getContext(nodeName, context);
154152
155153 // c = new nodeName(props, context);
156154 c = vnode . __c = new nodeName ( props , cctx ) ;
You can’t perform that action at this time.
0 commit comments