Skip to content

Commit 3b395e7

Browse files
authored
Update packages/svelte/src/internal/client/runtime.js
1 parent b9f0273 commit 3b395e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,7 @@ export function invalidate_inner_signals(fn) {
960960
if ((signal.f & LEGACY_DERIVED_PROP) !== 0) {
961961
for (const dep of /** @type {Derived} */ (signal).deps || []) {
962962
if ((dep.f & DERIVED) === 0) {
963+
// Use internal_set instead of set here and below to avoid mutation validation
963964
internal_set(dep, dep.v);
964965
}
965966
}

0 commit comments

Comments
 (0)