enhance-dev/enhance-ssr

Unnamed slot before named slots render extra content in the slot

Closed this issue · 0 comments

If an unnamed slot is before other named slots it will render with the wrong content in the slot.

export default function myComponent({html}){
return html`<slot></slot><slot name="slot1"></slot>`
}

This PR-53 has a reproduction with a failing test.