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

Call Signatures

<T extends Element>(
element: DOMElement<DOMAttributes<T>, T>,
container: Container | null,
callback?: () => void,
): T
(
element: Array<DOMElement<DOMAttributes<any>, any>>,
container: Container | null,
callback?: () => void,
): Element
(
element: SFCElement<any> | Array<SFCElement<any>>,
container: Container | null,
callback?: () => void,
): void
<P, T extends Component<P, ComponentState>>(
element: CElement<P, T>,
container: Container | null,
callback?: () => void,
): T
(
element: Array<CElement<any, Component<any, ComponentState>>>,
container: Container | null,
callback?: () => void,
): Component<any, ComponentState>
<P>(
element: ReactElement<P>,
container: Container | null,
callback?: () => void,
): Component<P, ComponentState> | Element | void
(
element: ReactElement[],
container: Container | null,
callback?: () => void,
): Component<any, ComponentState> | Element | void