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

Options

Global options for preact

interface Options {
__suspenseDidResolve?(vnode: VNode, cb: () => void): void;
_addHookName?(name: string | number): void;
attr?(name: string, value: any): string | void;
debounceRendering?(cb: () => void): void;
diffed?(vnode: VNode): void;
event?(e: Event): any;
requestAnimationFrame?(callback: () => void): void;
unmount?(vnode: VNode): void;
useDebugValue?(value: string | number): void;
vnode?(vnode: VNode): void;
}

§Methods

§
__suspenseDidResolve?(vnode: VNode, cb: () => void): void
[src]
§
_addHookName?(name: string | number): void
[src]
§
attr?(name: string, value: any): string | void
[src]

Customize attribute serialization when a precompiled JSX transform is used.

§
debounceRendering?(cb: () => void): void
[src]
§
diffed?(vnode: VNode): void
[src]

Attach a hook that is invoked after a vnode has rendered.

§
event?(e: Event): any
[src]
§
requestAnimationFrame?(callback: () => void): void
[src]
§
unmount?(vnode: VNode): void
[src]

Attach a hook that is invoked immediately before a vnode is unmounted.

§
useDebugValue?(value: string | number): void
[src]
§
vnode?(vnode: VNode): void
[src]

Attach a hook that is invoked whenever a VNode is created.