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 623fb50 commit 4a56c2aCopy full SHA for 4a56c2a
packages/svelte/src/internal/client/reactivity/batch.js
@@ -40,10 +40,8 @@ export class Batch {
40
pending = 0;
41
42
apply() {
43
- if (batches.size === 1) {
44
- // if this is the latest (and only) batch, we have nothing to do
45
- return noop;
46
- }
+ // common case: no overlapping batches, nothing to revert
+ if (batches.size === 1) return noop;
47
48
var current_values = new Map();
49
0 commit comments