{#if visible}
<Foo bind:answer/>
{:else}
{/if}
<script>
import Foo from './Foo.html';
export default {
data: () => ({
visible: true,
answer: 42
}),
components: {
Foo
}
};
</script>