Skip to content

Commit

Permalink
refactor: Expound upon replaceNode's deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed Aug 30, 2022
1 parent c0e8689 commit 3fc8b5e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/index.d.ts
Expand Up @@ -277,9 +277,13 @@ export namespace h {

export function render(
vnode: ComponentChild,
parent: Element | Document | ShadowRoot | DocumentFragment,
parent: Element | Document | ShadowRoot | DocumentFragment
): void;
/** @deprecated Will be removed in v11. */
/**
* @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 3fc8b5e

Please sign in to comment.