@@ -170,9 +170,9 @@ function createTree(
170
170
fromSibling = false
171
171
) {
172
172
// Base case: child or sibling pointed to null
173
- if ( currentFiber . tag === 5 ) {
174
- console . log ( currentFiber . stateNode )
175
- }
173
+ // if (currentFiber.tag === 5) {
174
+ // console.log(currentFiber.stateNode)
175
+ // }
176
176
if ( ! currentFiber ) return null ;
177
177
if ( ! tree ) return tree ;
178
178
@@ -229,7 +229,7 @@ function createTree(
229
229
stateNode . state ,
230
230
stateNode
231
231
) ;
232
- console . log ( componentData )
232
+ // console.log(componentData)
233
233
// console.log('stateNode inside of line 232:', stateNode)
234
234
newState = stateNode . state ;
235
235
componentFound = true ;
@@ -347,7 +347,6 @@ function createTree(
347
347
// so attach children to the newly appended child.
348
348
// Otherwise, attach children to this same node.
349
349
circularComponentTable . add ( child ) ;
350
- // console.log(createTree(child, newNode))
351
350
createTree ( child , newNode ) ;
352
351
}
353
352
// Recurse on siblings
@@ -375,7 +374,6 @@ export default (snap: Snapshot, mode: Mode): (() => void) => {
375
374
const devTools = window . __REACT_DEVTOOLS_GLOBAL_HOOK__ ;
376
375
const reactInstance = devTools ? devTools . renderers . get ( 1 ) : null ;
377
376
fiberRoot = devTools . getFiberRoots ( 1 ) . values ( ) . next ( ) . value ;
378
- console . log ( fiberRoot ) ;
379
377
const throttledUpdateSnapshot = throttle ( ( ) => updateSnapShotTree ( snap , mode ) , 70 ) ;
380
378
document . addEventListener ( 'visibilitychange' , onVisibilityChange ) ;
381
379
if ( reactInstance && reactInstance . version ) {
0 commit comments