revert unneeded changes

pull/15844/head
Rich Harris 2 months ago
parent 6d9801d16f
commit b2c0b7986f

@ -300,15 +300,15 @@ function mark_reactions(signal, status) {
continue;
}
if (status === DIRTY || (flags & DIRTY) === 0) {
// don't make a DIRTY signal MAYBE_DIRTY
set_signal_status(reaction, status);
}
// If the signal a) was previously clean or b) is an unowned derived, then mark it
if ((flags & (CLEAN | UNOWNED)) !== 0) {
if ((flags & DERIVED) !== 0) {
mark_reactions(/** @type {Derived} */ (reaction), MAYBE_DIRTY);
} else {
schedule_effect(/** @type {Effect} */ (reaction));
}
}
}
}

Loading…
Cancel
Save