Closed
Description
Describe the problem
Since the current {#key}
block operates like a 1-element {#each}
block, it should make sense to allow using {@const}
inside of {#key}
as well.
Describe the proposed solution
Allow the usage of {@const}
inside {#key}
Alternatives considered
Use a dummy {#if true}
block
{#key ...}
{#if true}
{@const ...}
{/if}
{/key}
Importance
nice to have
Metadata
Metadata
Assignees
Labels
No labels