Skip to main content
Module

x/blog/deps.ts>VNode

Minimal boilerplate blogging.
Go to Latest
interface VNode
Re-export
import { type VNode } from "https://deno.land/x/blog@0.3.3/deps.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