You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Slot name should be assigned dynamically such as in {#each} blocks.
Severity
We are making a component library using svelte; if this issue persists we have a feature in which by supplying data to named slots the layout changes. For that feature this is a blocker.
The text was updated successfully, but these errors were encountered:
This isn't a bug, it's a lack of a feature, as the error message you got indicates. This sounds like something there would be a lot of nuance about how it would work and how it would interact with other features. To that end, if you can give specific and detailed requirements of what you're looking for, please open an RFC in the 'rfcs' repo.
Describe the bug
When we try to assign name to the slot dynamically, we are not able to do so as it says ' name can not be dynamic'.
To Reproduce
https://svelte.dev/repl/e1f35989fecb4d4ea828db4b6b249a5c?version=3.5.1
Expected behavior
Slot name should be assigned dynamically such as in {#each} blocks.
Severity
We are making a component library using svelte; if this issue persists we have a feature in which by supplying data to named slots the layout changes. For that feature this is a blocker.
The text was updated successfully, but these errors were encountered: