We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50fcda6 commit f10c898Copy full SHA for f10c898
hooks/src/internal.d.ts
@@ -13,9 +13,10 @@ export { PreactContext };
13
export interface Options extends PreactOptions {
14
/** Attach a hook that is invoked before a vnode is diffed. */
15
_diff?(vnode: VNode): void;
16
- diffed?(vnode: VNode): void;
17
/** Attach a hook that is invoked before a vnode has rendered. */
18
_render?(vnode: VNode): void;
+ /** Attach a hook that is invoked after a vnode has rendered. */
19
+ diffed?(vnode: VNode): void;
20
/** Attach a hook that is invoked after a tree was mounted or was updated. */
21
_commit?(vnode: VNode, commitQueue: Component[]): void;
22
_unmount?(vnode: VNode): void;
0 commit comments