0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-22 12:27:29 +01:00
svelte/sites
Simon H 8aed27db97
fix: allow mixing slots and snippets in custom elements mode (#12929)
We need to allow mixing those within custom element components because in a future version of Svelte where we remove the Svelte-version of slots, we'll preserve slots as-is, and people should use those within their components. At the same time they should be able to make use of snippets for reusable blocks of code.

Also document that you should continue using slots within custom elements.

closes #12892
2024-08-20 18:30:01 +02:00
..
svelte-5-preview fix: allow mixing slots and snippets in custom elements mode (#12929) 2024-08-20 18:30:01 +02:00
svelte.dev