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

render

deprecated
@deprecated

The replaceNode parameter will be removed in v11.

Replacement Preact 10+ implementation can be found in the preact-root-fragment package. Docs: https://github.com/preactjs/preact-root-fragment

function render(vnode: ComponentChild, parent: ContainerNode): void;
function render(
parent: ContainerNode,
replaceNode?: Element | Text,
): void;
§
render(vnode: ComponentChild, parent: ContainerNode): void
[src]

§Parameters

§
parent: ContainerNode
[src]

§Return Type

§
render(vnode: ComponentChild, parent: ContainerNode, replaceNode?: Element | Text): void
[src]

§Parameters

§
parent: ContainerNode
[src]
§
replaceNode?: Element | Text optional
[src]

§Return Type