From 0401bb377867d91b38b904b56d5c9c549767e800 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 21 Feb 2024 23:46:07 -0500 Subject: [PATCH] note to self --- packages/svelte/src/internal/client/reactivity/computations.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/svelte/src/internal/client/reactivity/computations.js b/packages/svelte/src/internal/client/reactivity/computations.js index ebcd224bd8..19d620ab6a 100644 --- a/packages/svelte/src/internal/client/reactivity/computations.js +++ b/packages/svelte/src/internal/client/reactivity/computations.js @@ -312,6 +312,8 @@ function pause_children(effect, transitions) { * @param {import('../types.js').ComputationSignal} effect */ export function destroy_effect(effect) { + // TODO call cleanup functions (but not sure when exactly?) + // TODO distinguish between 'block effects' (?) which own their own DOM // and other render effects if (effect.dom) {