From 01e2257e3f257cba83fd925b5624c72f2dfa11c5 Mon Sep 17 00:00:00 2001 From: Dominic Gannaway Date: Wed, 29 May 2024 13:58:07 +0100 Subject: [PATCH] improve --- packages/svelte/src/internal/client/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte/src/internal/client/runtime.js b/packages/svelte/src/internal/client/runtime.js index b175d52da1..6ab3161445 100644 --- a/packages/svelte/src/internal/client/runtime.js +++ b/packages/svelte/src/internal/client/runtime.js @@ -239,7 +239,7 @@ export function check_dirtiness(reaction) { } else if ((reaction.f & DIRTY) !== 0) { // `signal` might now be dirty, as a result of calling `check_dirtiness` and/or `update_derived` return true; - } else { + } else if ((reaction.f & DERIVED) !== 0) { // It might be that the derived was was dereferenced from its dependencies but has now come alive again. // In thise case, we need to re-attach it to the graph and mark it dirty if any of its dependencies have // changed since.