Skip to content

Commit 4a23038

Browse files
committed
wip types
1 parent e2d539d commit 4a23038

File tree

9 files changed

+374
-418
lines changed

9 files changed

+374
-418
lines changed

packages/qwik/src/core/client/dom-render.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ export const render = async (
4949
await container.$renderPromise$;
5050
return {
5151
cleanup: () => {
52-
cleanup(container, container.rootVNode);
52+
/**
53+
* This can lead to cleaning up projection vnodes via the journal, but since we're cleaning up
54+
* they don't matter so we ignore the journal
55+
*/
56+
cleanup(container, [], container.rootVNode);
5357
},
5458
};
5559
};

packages/qwik/src/core/client/process-vnode-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// NOTE: we want to move this function to qwikloader, and therefore this function should not have any external dependencies
22
import { VNodeDataChar, VNodeDataSeparator } from '../shared/vnode-data-types';
33
import type { ContainerElement, QDocument } from './types';
4-
import type { ElementVNode } from './vnode-impl';
4+
import type { ElementVNode } from '../shared/vnode/element-vnode';
55

66
/**
77
* Process the VNodeData script tags and store the VNodeData in the VNodeDataMap.

0 commit comments

Comments
 (0)