<svelte:component>
ルーンモードでは、<MyComponent> は MyComponent の値が変わると再レンダリングされます。
レガシーモードでは、そのように動作しません。<svelte:component> を使用する必要があり、それにより、this 式の値が変わるとコンポーネントインスタンスが破棄され、再作成されます。
<svelte:component this={MyComponent} />this が false の場合、コンポーネントはレンダリングされません。