Open genki opened 1 year ago
Start a new pull request in StackBlitz Codeflow.
Not sure I understand what you're trying to achieve?
@hamatoyogi I am trying to compose a component procedurally at runtime.
I think this is useful for cases that visitors want to edit the layout or composition of components.
It partially succeeded but the named <Slot>
projection fails even if the normal <Slot>
goes well.
I wonder why that occurs.
Which component is affected?
Qwik Runtime
Describe the bug
I am trying to compose components recursively like this:
The result is success for
<Slot />
but fail for<Slot name="foo" />
. Theq:slot="foo"
is not projected but entire component is projected to<Slot />
Reproduction
https://stackblitz.com/edit/qwik-starter-2us27r?file=src%2Froutes%2Findex.tsx
Steps to reproduce
No response
System Info
Additional Information
No response