Skip to content

Commit b88b4e8

Browse files
committed
comment is no longer true
1 parent 075a8b9 commit b88b4e8

File tree

1 file changed

+1
-3
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+1
-3
lines changed

packages/svelte/src/internal/client/reactivity/batch.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ export class Batch {
9494

9595
/**
9696
* When the batch is committed (and the DOM is updated), we need to remove old branches
97-
* and append new ones by calling the functions added inside (if/each/key/etc) blocks.
98-
* Key is a function that returns the block effect because #callbacks will be called before
99-
* the block effect reference exists, so we need to capture it in a closure.
97+
* and append new ones by calling the functions added inside (if/each/key/etc) blocks
10098
* @type {Map<Effect, () => void>}
10199
*/
102100
#callbacks = new Map();

0 commit comments

Comments
 (0)