{#await loadComponentAndInitializeState(composer) then Component}
{/await}
{#if composer?.children}
{#each composer.children as child (child.id)}
{#await loadComponentAndInitializeState(child) then ChildComponent}
{#if child.children && child.children.length}
{/if}
{/await}
{/each}
{/if}