Contacts

{#if $contactsQuery.isLoading}

Loading...

{:else if $contactsQuery.error}
Error: {JSON.stringify($contactsQuery.error, null, 2)}
{:else}
{#each $contactsQuery.data.payload as contact (contact.id)}
{contact.name}
ID: {contact.id}
{contact.email}
{/each}
{/if}