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 a61b39e commit c665ddfCopy full SHA for c665ddf
packages/svelte/src/internal/client/runtime.js
@@ -171,16 +171,17 @@ export function check_dirtiness(reaction) {
171
172
if (dependencies !== null) {
173
var is_unowned = (flags & UNOWNED) !== 0;
174
+ var i;
175
176
if ((flags & DISCONNECTED) !== 0) {
- for (var i = 0; i < dependencies.length; i++) {
177
+ for (i = 0; i < dependencies.length; i++) {
178
(dependencies[i].reactions ??= []).push(reaction);
179
}
180
181
reaction.f ^= DISCONNECTED;
182
183
184
185
var dependency = dependencies[i];
186
187
if (check_dirtiness(/** @type {import('#client').Derived} */ (dependency))) {
0 commit comments