MCPcopy
hub / github.com/jorgebucaran/hyperapp / h

Function h

index.js:360–365  ·  view source on GitHub ↗
(tag, { class: c, ...props }, children = EMPTY_ARR)

Source from the content-addressed store, hash-verified

358 createVNode(value, EMPTY_OBJ, EMPTY_ARR, TEXT_NODE, node)
359
360export var h = (tag, { class: c, ...props }, children = EMPTY_ARR) =>
361 createVNode(
362 tag,
363 { ...props, ...(c ? { class: createClass(c) } : EMPTY_OBJ) },
364 isArray(children) ? children : [children]
365 )
366
367export var app = ({
368 node,

Callers 3

index.test.jsFile · 0.90
tagFunction · 0.85
tagFunction · 0.85

Calls 2

createVNodeFunction · 0.85
createClassFunction · 0.85

Tested by

no test coverage detected