{#each things as thing (thing)} <div animate:flip>flips</div> {/each}