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> {
111
111
// Obtain the FiberRootNode, which is the first value in the FiberRoot Set:
112
112
fiberRoot = devTools . getFiberRoots ( 1 ) . values ( ) . next ( ) . value ;
113
113
114
+ // console.log('Initial fiber root', fiberRoot);
115
+
114
116
// ----------INITIALIZE THE TREE SNAP SHOT ON CHROME EXTENSION--------------
115
117
await throttledUpdateSnapshot ( fiberRoot , mode ) ; // only runs on start up
116
118
@@ -128,6 +130,8 @@ export default function linkFiber(mode: Status): () => Promise<void> {
128
130
// Obtain the updated FiberRootNode, after the target React application re-renders
129
131
const fiberRoot = args [ 1 ] ;
130
132
133
+ // console.log('Updated fiber root', fiberRoot);
134
+
131
135
// If the target React application is visible, send a request to update the snapShot tree displayed on Chrome Extension
132
136
if ( isVisible ) throttledUpdateSnapshot ( fiberRoot , mode ) ;
133
137
// After our added work is completed we invoke the original onComitFiberRoot function
You can’t perform that action at this time.
0 commit comments