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

render

deprecated
@deprecated

Will be removed in v11.

Replacement Preact 10+ implementation can be found here: https://gist.github.com/developit/f4c67a2ede71dc2fab7f357f39cff28c

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