Describe the bug
If I have in the parent:
//...
{#if $$slots.head}
<PlayerHead {title}>
<slot name="head" {data} />
</PlayerHead>
{/if}
and I use the empty:
<svelte:fragment slot="head"></svelte:fragment>
the head slot is not rendered.
If I use the below instead:
the slot is rendered.
Why I cannot use svelte:fragment if empty?
System Info
System:
OS: Windows 10
Binaries:
Node: 18.16.0
npm: 9.6.5
Browsers:
Chromium (107.0.1418.62)
Severity
blocking all usage of svelte