Skip to content

Commit

Permalink
Merge pull request #3700 from preactjs/chore/deprecate-replace-node
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Aug 31, 2022
2 parents 35e7d8e + 3fc8b5e commit e70238f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/index.d.ts
Expand Up @@ -275,6 +275,15 @@ export namespace h {
// Preact render
// -----------------------------------

export function render(
vnode: ComponentChild,
parent: Element | Document | ShadowRoot | DocumentFragment
): void;
/**
* @deprecated Will be removed in v11.
*
* Replacement Preact 10+ implementation can be found here: https://gist.github.com/developit/f4c67a2ede71dc2fab7f357f39cff28c
*/
export function render(
vnode: ComponentChild,
parent: Element | Document | ShadowRoot | DocumentFragment,
Expand Down

0 comments on commit e70238f

Please sign in to comment.