|
|
|
@ -185,10 +185,8 @@ export function is_dirty(reaction) {
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
(flags & CONNECTED) !== 0 &&
|
|
|
|
(flags & CONNECTED) !== 0 &&
|
|
|
|
// During time traveling we don't want to reset the status so that
|
|
|
|
// During time traveling we don't want to reset the status so that
|
|
|
|
// traversal of the graph in the other batches still happens. Effects
|
|
|
|
// traversal of the graph in the other batches still happens
|
|
|
|
// can be reset because block/async effects execute right away and others
|
|
|
|
batch_values === null
|
|
|
|
// are deferred and re-dirtied as needed.
|
|
|
|
|
|
|
|
(batch_values === null || (flags & DERIVED) === 0)
|
|
|
|
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
set_signal_status(reaction, CLEAN);
|
|
|
|
set_signal_status(reaction, CLEAN);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|