From 97e21a6e6740d903e8de2b1893645e5b054c68e3 Mon Sep 17 00:00:00 2001 From: Felipe Simoes Date: Wed, 20 Nov 2024 16:40:22 +0100 Subject: [PATCH] Udpates --- scripts/render/dom.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/render/dom.js b/scripts/render/dom.js index 9b529d1..c4a2934 100644 --- a/scripts/render/dom.js +++ b/scripts/render/dom.js @@ -240,14 +240,6 @@ export function nodeProxy(rawNode) { target.children = value; return true; } - if (prop === 'parentNode') { - const oldParent = target.parentNode; - if (oldParent) { - // don't trigger setter - oldParent.children.filter((child) => child !== receiver); - } - target.parentNode = value; - } target[prop] = value; return true; },