Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fastro/http/server/deps.ts>VNode

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Go to Latest
interface VNode
import { type VNode } from "https://deno.land/x/fastro@v0.84.23/http/server/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