Any node that can appear in the HTML tree.
string
HtmlElement
HtmlText
undefined
null
false
{condition && h(...)}
Any node that can appear in the HTML tree.
stringis treated as a text node (will be escaped by the serialiser)HtmlElementandHtmlTextare structured nodesundefinedandnullare silently dropped (useful for conditional children)falseis silently dropped (useful for{condition && h(...)})