From 3e70c4396ba9e990a2cfcdab886597b97fb09b94 Mon Sep 17 00:00:00 2001 From: Dominic Gannaway Date: Thu, 9 Jan 2025 16:10:13 +0000 Subject: [PATCH] fix: reset dependency read versions after reaction execution --- 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 6f6b91f97fcf..3c8879eb317b 100644 --- a/packages/svelte/src/internal/client/runtime.js +++ b/packages/svelte/src/internal/client/runtime.js @@ -434,7 +434,7 @@ export function update_reaction(reaction) { deps.length = skipped_deps; } - // If we are returning to an previous reaction then + // If we are returning to an previous reaction then // we need to increment the read version to ensure that // any dependencies in this reaction aren't marked with // the same version