You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// don't send messages while jumping or while paused
12
+
// DEV: So that when we are jumping to an old snapshot it wouldn't think we want to create new snapshots
12
13
if(mode.jumping||mode.paused)return;
13
14
constpayload=snap.tree.getCopy();
15
+
// console.log('payload', payload);
14
16
window.postMessage({
15
17
action: 'recordSnap',
16
18
payload,
17
19
});
18
20
}
19
21
22
+
// DEV: This is how we know when a change has happened (by injecting an event listener to every component's setState functionality). Will need to create a separate one for useState components
0 commit comments