Skip to content

Commit 3e70c43

Browse files
committed
fix: reset dependency read versions after reaction execution
1 parent d172aac commit 3e70c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export function update_reaction(reaction) {
434434
deps.length = skipped_deps;
435435
}
436436

437-
// If we are returning to an previous reaction then
437+
// If we are returning to an previous reaction then
438438
// we need to increment the read version to ensure that
439439
// any dependencies in this reaction aren't marked with
440440
// the same version

0 commit comments

Comments
 (0)