We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b94b71c commit e95c94fCopy full SHA for e95c94f
packages/svelte/src/internal/client/runtime.js
@@ -207,6 +207,8 @@ export function check_dirtiness(reaction) {
207
for (i = 0; i < length; i++) {
208
dependency = dependencies[i];
209
210
+ // We always re-add all reactions (even duplicates) if the derived was
211
+ // previously disconnected
212
if (is_disconnected || !dependency?.reactions?.includes(reaction)) {
213
(dependency.reactions ??= []).push(reaction);
214
}
0 commit comments