Skip to content

Commit ec7886c

Browse files
authored
Update packages/svelte/src/internal/client/reactivity/sources.js
1 parent 59f4b2a commit ec7886c

File tree

1 file changed

+2
-1
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+2
-1
lines changed

packages/svelte/src/internal/client/reactivity/sources.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ export function set(source, value) {
179179
flush_sync();
180180
}
181181
for (const effect of inspects) {
182-
// If the inspect effect is clean, mark it maybe dirty so we can avoid overfiring.
182+
// Mark clean inspect-effects as maybe dirty and then check their dirtiness
183+
// instead of just updating the effects - this way we avoid overfiring.
183184
if ((effect.f & CLEAN) !== 0) {
184185
set_signal_status(effect, MAYBE_DIRTY);
185186
}

0 commit comments

Comments
 (0)