Further explanation of Svelte’s keyed each block
I believe it uses something like the index of the item as the default when you do not provide a key. This can be validated by using {#each things as thing, index (index)} <Thing current={thing.color}/> {/each} which gives the same behavior as not using a key in the first place. Let’s call the <Thing> that … Read more