Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

createRoot

Replaces ReactDOM.render when the .render method is called and enables Concurrent Mode.

function createRoot(container: Element | DocumentFragment, options?: RootOptions): Root;
§
createRoot(container: Element | DocumentFragment, options?: RootOptions): Root
[src]

§Parameters

§
container: Element | DocumentFragment
[src]
§
options?: RootOptions optional
[src]

§Return Type