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
<script>
let {children, ...others} =$props();let fns =Object.keys(others);
</script>
<div>
<!-- hope this work -->
{#eachothersasother}
{@renderother?.()}
{/each}
<!-- this work but a bit verbose and not stable -->
{#eachfnsasfn}
{@renderothers[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
The text was updated successfully, but these errors were encountered:
Describe the problem
Can not each the snippets.
Demo
Describe the proposed solution
Wish to add a special prop similar to
children
, and can be enumerated directlyImportance
nice to have
The text was updated successfully, but these errors were encountered: