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:
| Element
| Document
| ShadowRoot
| DocumentFragment
): void;
function render(
parent:
| Element
| Document
| ShadowRoot
| DocumentFragment
,
replaceNode?: Element | Text,
): void;
§
render(vnode: ComponentChild, parent: Element | Document | ShadowRoot | DocumentFragment): void
[src]

§Parameters

§
parent: Element | Document | ShadowRoot | DocumentFragment
[src]

§Return Type

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

§Parameters

§
parent: Element | Document | ShadowRoot | DocumentFragment
[src]
§
replaceNode?: Element | Text optional
[src]

§Return Type