The title says it all. Perhaps it is technically impossible. I know that, for the moment, it is.
I was meaning to do something like this:
const WithSlots = component$(() => {
return (
<article>
<h1><Slot name='title' /></h1>
<Slot />
</article>
)
})
const UseSlots = component$(() => {
return (
<WithSlots>
<Fragment q:slot='title'>Just Text</Fragment>
<div>...</div>
</WithSlots>
)
})