From b88b4e8ef82f2886798a4514a49e34ff713b7493 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 30 Aug 2025 09:33:37 -0400 Subject: [PATCH] comment is no longer true --- packages/svelte/src/internal/client/reactivity/batch.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/svelte/src/internal/client/reactivity/batch.js b/packages/svelte/src/internal/client/reactivity/batch.js index b720c71a03..d8d8286b9b 100644 --- a/packages/svelte/src/internal/client/reactivity/batch.js +++ b/packages/svelte/src/internal/client/reactivity/batch.js @@ -94,9 +94,7 @@ export class Batch { /** * When the batch is committed (and the DOM is updated), we need to remove old branches - * and append new ones by calling the functions added inside (if/each/key/etc) blocks. - * Key is a function that returns the block effect because #callbacks will be called before - * the block effect reference exists, so we need to capture it in a closure. + * and append new ones by calling the functions added inside (if/each/key/etc) blocks * @type {Map void>} */ #callbacks = new Map();