{#each messages as message, i} {#key (message.id, $page.params.id)}
{/key} {:else}
{/each} {#if pending}
{/if}