Reference

createRoot

Mounts a reactive render function into a DOM container.

Signature

function createRoot(container: ParentNode, render: (): RenderValue): Dispose