{#if isLoading}
{:else if hasError}
{:else} {@render children()} {/if}