The text is {h1 ? h1.textContent : 'missing'}
{#if visible}

hello

{/if}