diff --git a/packages/qwik/src/core/v2/shared/shared-serialization.ts b/packages/qwik/src/core/v2/shared/shared-serialization.ts index 9592139e506..630fbe733f7 100644 --- a/packages/qwik/src/core/v2/shared/shared-serialization.ts +++ b/packages/qwik/src/core/v2/shared/shared-serialization.ts @@ -1427,6 +1427,8 @@ export const canSerialize2 = (value: any): boolean => { return true; } else if (isPromise(value)) { return true; + } else if (isJSXNode(value)) { + return true; } } else if (typeof value === 'function') { if (isQrl(value) || isQwikComponent(value)) { diff --git a/packages/qwik/src/core/v2/tests/projection.spec.tsx b/packages/qwik/src/core/v2/tests/projection.spec.tsx index f638b7d2270..01bd8cca26b 100644 --- a/packages/qwik/src/core/v2/tests/projection.spec.tsx +++ b/packages/qwik/src/core/v2/tests/projection.spec.tsx @@ -42,18 +42,18 @@ describe.each([ { render: ssrRenderToDom }, // { render: domRender }, // ])('$render.name: projection', ({ render }) => { - it.only('should render basic projection', async () => { + it('should render basic projection', async () => { const Child = component$(() => { return (