chore: revert

derived-reactions-maybe-dirty-marked
paoloricciuti 3 months ago
parent b7e703463e
commit 7c9c46c508

@ -190,7 +190,7 @@ export function internal_set(source, value) {
is_runes() &&
active_effect !== null &&
(active_effect.f & CLEAN) !== 0 &&
(active_effect.f & (BRANCH_EFFECT | ROOT_EFFECT | BLOCK_EFFECT)) === 0
(active_effect.f & (BRANCH_EFFECT | ROOT_EFFECT)) === 0
) {
if (untracked_writes === null) {
set_untracked_writes([source]);
@ -280,7 +280,7 @@ function mark_reactions(signal, status) {
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 | MAYBE_DIRTY)) !== 0) {
if ((flags & (CLEAN | UNOWNED)) !== 0) {
if ((flags & DERIVED) !== 0) {
mark_reactions(/** @type {Derived} */ (reaction), MAYBE_DIRTY);
} else {

Loading…
Cancel
Save