Skip to main content
Deno 2 is finally here 🎉️
Learn more
function unstable_renderSubtreeIntoContainer
import { unstable_renderSubtreeIntoContainer } from "https://deno.land/x/react_deno@17.0.2/src/react_dom.d.ts";

Type Parameters

T extends Element

Parameters

parentComponent: Component<any>
container: Element
optional
callback: (element: T) => any

Parameters

parentComponent: Component<any>
element: CElement<P, T>
container: Element
optional
callback: (component: T) => any

Parameters

parentComponent: Component<any>
element: ReactElement<P>
container: Element
optional
callback: (component?: Component<P, ComponentState> | Element) => any

Returns

Component<P, ComponentState> | Element | void