@mintjamsinc/ichigojs 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ichigo.esm.js +3 -2
- package/dist/ichigo.esm.js.map +1 -1
- package/dist/ichigo.esm.min.js +1 -1
- package/dist/ichigo.esm.min.js.map +1 -1
- package/dist/ichigo.umd.js +3 -2
- package/dist/ichigo.umd.js.map +1 -1
- package/dist/ichigo.umd.min.js +1 -1
- package/dist/ichigo.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/ichigo.esm.js
CHANGED
|
@@ -7330,10 +7330,11 @@ class VComponentDirective {
|
|
|
7330
7330
|
// Not rendered, no action needed
|
|
7331
7331
|
return;
|
|
7332
7332
|
}
|
|
7333
|
+
// Get the component's root VNode
|
|
7334
|
+
const componentVNode = this.#componentApp.rootVNode;
|
|
7333
7335
|
// Destroy component application first (calls @unmount hooks while DOM is still accessible)
|
|
7334
7336
|
this.#componentApp.unmount();
|
|
7335
|
-
//
|
|
7336
|
-
const componentVNode = this.#componentApp.rootVNode;
|
|
7337
|
+
// Remove the component's root node from the DOM
|
|
7337
7338
|
if (componentVNode?.node.parentNode) {
|
|
7338
7339
|
componentVNode.node.parentNode.removeChild(componentVNode.node);
|
|
7339
7340
|
}
|