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

x/fathym_atomic/src/src.deps.ts>VNode

This is the core atomic library to build design libraries from.
Go to Latest
interface VNode
import { type VNode } from "https://deno.land/x/fathym_atomic@v0.0.150/src/src.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