enhance.dev
enhance.dev copied to clipboard
Add note in docs that unnamed slots can't have default content
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.
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.