Skip to main content
Module

x/netzo/mod.ts>Options

Netzo - roll out internal tools faster
Go to Latest
interface Options
import { type Options } from "https://deno.land/x/netzo@v0.1.58/mod.ts";

Global options for preact

Methods

optional
vnode(vnode: VNode): void

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

optional
unmount(vnode: VNode): void

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

optional
diffed(vnode: VNode): void

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

optional
event(e: Event): any
optional
requestAnimationFrame(callback: () => void): void
optional
debounceRendering(cb: () => void): void
optional
useDebugValue(value: string | number): void
optional
_addHookName(name: string | number): void
optional
__suspenseDidResolve(vnode: VNode, cb: () => void): void