From 8f2cc6f18922c01564df764665c87066b615ff73 Mon Sep 17 00:00:00 2001 From: hontas Date: Mon, 9 Mar 2020 01:00:32 +0100 Subject: [PATCH] add comment to force checks --- src/runtime/internal/Component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/internal/Component.ts b/src/runtime/internal/Component.ts index ea3e9dafea..31fb58d740 100644 --- a/src/runtime/internal/Component.ts +++ b/src/runtime/internal/Component.ts @@ -182,6 +182,7 @@ if (typeof HTMLElement === 'function') { const new_on_destroy = this.$$.on_mount.map(run).filter(is_function); this.$$.on_destroy.push(...new_on_destroy); + // don't reset on_mount array to not infer with reinsertion? } attributeChangedCallback(attr, _oldValue, newValue) {