Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Options
import { type Options } from "https://deno.land/x/fathym_eac_runtime@v0.0.140/src/src.deps.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
optional
attr(name: string, value: any): string | void

Customize attribute serialization when a precompiled JSX transform is used.