-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Labels
awaiting submitterneeds a reproduction, or clarificationneeds a reproduction, or clarification
Description
Describe the problem
As I generate components that pass helpful data in the form of snippet parameters, I cannot help but wonder how passing from nothing to {#snippet children(a, b, c)} ... {/snippet} just to be able to access a, b and c is annoying.
Describe the proposed solution
How about a shorthand syntax for the special and predefined case of children?
<Component>
{# (a, b, c)}
{/}
</Component>UPDATE
Inspired by the attachments syntax:
<Component params(a, b, c)>
<!-- We can use variables a, b and c here -->
</Component>Importance
nice to have
Metadata
Metadata
Assignees
Labels
awaiting submitterneeds a reproduction, or clarificationneeds a reproduction, or clarification