mirror of https://github.com/sveltejs/svelte
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 #12892pull/12931/head
parent
212b60203f
commit
8aed27db97
@ -0,0 +1,5 @@
|
||||
---
|
||||
"svelte": patch
|
||||
---
|
||||
|
||||
fix: allow mixing slots and snippets in custom elements mode
|
Loading…
Reference in new issue