diff --git a/packages/svelte/src/internal/client/runtime.js b/packages/svelte/src/internal/client/runtime.js index cbe2b15739..448fe40a2c 100644 --- a/packages/svelte/src/internal/client/runtime.js +++ b/packages/svelte/src/internal/client/runtime.js @@ -886,12 +886,8 @@ export function mark_reactions(signal, force_schedule) { if ((flags & CLEAN) !== 0 || (maybe_dirty && unowned)) { if ((reaction.f & DERIVED) !== 0) { - // Push the derived reaction's reactions onto the stack with MAYBE_DIRTY status var children = /** @type {import('#client').Derived} */ (reaction).reactions; - - if (children !== null) { - stack.push(...children); - } + if (children !== null) stack.push(...children); } else { schedule_effect(/** @type {import('#client').Effect} */ (reaction)); }