File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ export default function linkFiber(mode: Status): () => Promise<void> {
111111 // Obtain the FiberRootNode, which is the first value in the FiberRoot Set:
112112 fiberRoot = devTools . getFiberRoots ( 1 ) . values ( ) . next ( ) . value ;
113113
114+ // console.log('Initial fiber root', fiberRoot);
115+
114116 // ----------INITIALIZE THE TREE SNAP SHOT ON CHROME EXTENSION--------------
115117 await throttledUpdateSnapshot ( fiberRoot , mode ) ; // only runs on start up
116118
@@ -128,6 +130,8 @@ export default function linkFiber(mode: Status): () => Promise<void> {
128130 // Obtain the updated FiberRootNode, after the target React application re-renders
129131 const fiberRoot = args [ 1 ] ;
130132
133+ // console.log('Updated fiber root', fiberRoot);
134+
131135 // If the target React application is visible, send a request to update the snapShot tree displayed on Chrome Extension
132136 if ( isVisible ) throttledUpdateSnapshot ( fiberRoot , mode ) ;
133137 // After our added work is completed we invoke the original onComitFiberRoot function
You can’t perform that action at this time.
0 commit comments