Skip to content

Conversation

@dei8bit
Copy link
Contributor

@dei8bit dei8bit commented Jan 24, 2025

In Svelte 5, content can be passed to components in the form of snippets and rendered using render tags.

In legacy mode, content inside component tags is considered slotted content, which can be rendered by the component using a element

https://svelte.dev/docs/svelte/legacy-slots

In Svelte 5, content can be passed to components in the form of snippets and rendered using render tags.

In legacy mode, content inside component tags is considered slotted content, which can be rendered by the component using a <slot> element

https://svelte.dev/docs/svelte/legacy-slots
@vercel
Copy link

vercel bot commented Jan 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 10:06am

Copy link
Member

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nice great catch, you're absolutely right!

@philipp-spiess philipp-spiess merged commit 772cd63 into tailwindlabs:main Jan 27, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants