Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface VNode
import { type VNode } from "https://deno.land/x/netzo@0.3.66/deps/preact.ts";

Type Parameters

optional
P = { }

Properties

type: ComponentType<P> | string
props: P & { children: ComponentChildren; }
key: Key
optional
ref: Ref<any> | null

ref is not guaranteed by React.ReactElement, for compatibility reasons with popular react libs we define it as optional too

optional
startTime: number

The time this vnode started rendering. Will only be set when the devtools are attached. Default value: 0

optional
endTime: number

The time that the rendering of this vnode was completed. Will only be set when the devtools are attached. Default value: -1