Closed as not planned
Description
Describe the problem
Can not each the snippets.
Demo
<script>
let {children, ...others} = $props();
let fns = Object.keys(others);
</script>
<div>
<!-- hope this work -->
{#each others as other}
{@render other?.()}
{/each}
<!-- this work but a bit verbose and not stable -->
{#each fns as fn}
{@render others[fn]()}
{/each}
</div>
Describe the proposed solution
Wish to add a special prop similar to children
, and can be enumerated directly
Importance
nice to have
Metadata
Metadata
Assignees
Labels
No labels