From 0ed1b60a97a9b0ce0bb55e33987466da25ff9437 Mon Sep 17 00:00:00 2001 From: sarthakmarwaha55 <47109875+sarthakmarwaha@users.noreply.github.com> Date: Sun, 26 Feb 2023 16:16:18 -0500 Subject: [PATCH] add comment --- src/component/Component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/component/Component.ts b/src/component/Component.ts index efa9d07..88fbd09 100644 --- a/src/component/Component.ts +++ b/src/component/Component.ts @@ -134,6 +134,7 @@ export abstract class Component { const newElements = this.createElements(); referenceElement.replaceWith(...newElements); + // Required because it renders itself in this case this.notifyMounted({ parent: this.parent_, })