We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf93fc commit 3c39bc8Copy full SHA for 3c39bc8
packages/qwik/src/core/client/vnode-diff.ts
@@ -758,7 +758,9 @@ export const vnode_diff = (
758
const vNode = (vNewNode || vCurrent) as ElementVNode;
759
760
const element = vNode[ElementVNodeProps.element] as QElement;
761
- element.vNode = new WeakRef(vNode);
+ if (!element.vNode) {
762
+ element.vNode = new WeakRef(vNode);
763
+ }
764
765
needsQDispatchEventPatch =
766
setBulkProps(vNode, jsxAttrs, currentFile) || needsQDispatchEventPatch;
0 commit comments