enhance.dev icon indicating copy to clipboard operation
enhance.dev copied to clipboard

Add note in docs that unnamed slots can't have default content

Open ryanbethel opened this issue 2 years ago • 1 comments

Unnamed slots can't have default content. This does not make sense but it was done to match browser behavior. We should add a note to call this out in the docs.

ryanbethel avatar Oct 12 '23 15:10 ryanbethel

Unlike Astro, which did not follow the standard, Enhance does not permit default content in slots because it uses the web component slotting standard specification.

kristoferjoseph avatar Nov 18 '23 00:11 kristoferjoseph