Skip to content

Commit 7f01dc3

Browse files
committed
fix other bug
1 parent adad37b commit 7f01dc3

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ export function check_dirtiness(reaction) {
216216
}
217217

218218
if (dependency.wv > reaction.wv) {
219-
if (is_unowned) {
220-
reaction.wv = dependency.wv;
221-
}
222219
return true;
223220
}
224221
}

packages/svelte/tests/runtime-runes/samples/derived-unowned-7/_config.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ export default test({
99
btn1.click();
1010
});
1111

12-
assert.deepEqual(logs, [
13-
'computing C',
14-
'computing B',
15-
'a',
16-
'foo',
17-
'computing B',
18-
'aaa',
19-
'computing C'
20-
'foo'
21-
]);
12+
assert.deepEqual(logs, ['computing C', 'computing B', 'a', 'foo', 'computing B', 'aaa', 'foo']);
2213
}
2314
});

packages/svelte/tests/signals/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ describe('signals', () => {
481481
effect(() => {
482482
log.push('inner', $.get(inner));
483483
});
484+
return $.get(outer);
484485
});
485486
});
486487
});

0 commit comments

Comments
 (0)