import { type Options } from "https://deno.land/x/htm@0.1.4/html.tsx";
Global options for preact
Methods
optional
vnode(vnode: VNode): voidAttach a hook that is invoked whenever a VNode is created.
optional
unmount(vnode: VNode): voidAttach a hook that is invoked immediately before a vnode is unmounted.
optional
diffed(vnode: VNode): voidAttach a hook that is invoked after a vnode has rendered.
optional
event(e: Event): anyoptional
__suspenseDidResolve(vnode: VNode, cb: () => void): void