Immutable

{#each todos as todo} toggle(todo.id)} />
{/each}

Mutable

{#each todos as todo} toggle(todo.id)} />
{/each}