We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d835b commit c74a6f7Copy full SHA for c74a6f7
packages/svelte/src/internal/client/reactivity/sources.js
@@ -145,8 +145,8 @@ function mark_reactions(signal, status) {
145
var reaction = reactions[i];
146
var flags = reaction.f;
147
148
- // Skip if they're already dirty or if they're maybe dirty and not unowned
149
- if ((flags & DIRTY) !== 0 || ((flags & MAYBE_DIRTY) !== 0 && (flags & UNOWNED) === 0)) continue;
+ // If a reaction is already dirty, skip it (but always mark unowned deriveds)
+ if ((flags & (CLEAN | UNOWNED)) === 0) continue;
150
151
// In legacy mode, skip the current effect to prevent infinite loops
152
if (!runes && reaction === current_effect) continue;
0 commit comments