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 9b5f00b commit 5a3f7c2Copy full SHA for 5a3f7c2
packages/svelte/src/internal/client/reactivity/batch.js
@@ -47,11 +47,6 @@ export class Batch {
47
48
var current_values = new Map();
49
50
- for (const source of this.previous.keys()) {
51
- // mark_reactions(source, DIRTY);
52
- current_values.set(source, source.v);
53
- }
54
-
55
for (const [source, current] of this.current) {
56
source.v = current;
57
}
@@ -60,7 +55,7 @@ export class Batch {
60
if (batch === this) continue;
61
62
for (const [source, previous] of batch.previous) {
63
- if (!current_values.has(source)) {
58
+ if (!this.previous.has(source)) {
64
59
// mark_reactions(source, DIRTY);
65
current_values.set(source, source.v);
66
source.v = previous;
0 commit comments