@tempots/dom

TNode type

Represents a node in the rendering tree. It can be a renderable element, a string value, undefined, null, or an array of renderable elements.

Signature:

export type TNode<CTX extends DOMContext = DOMContext> = Renderable<CTX> | Value<string> | undefined | null | Renderable<CTX>[];

References: DOMContext, Renderable, Value