{#each blocks as block, index (loading && index === blocks.length - 1 ? `stream-${index}` : block.id)} {/each}