{#if component === null} Loading data... {:else} {#await component} Loading data... {:then v } {/await} {/if}