MCPcopy Create free account
hub / github.com/tinyhttp/tinyhttp / view

Function view

examples/hyperapp-ssr/index.js:17–24  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

15}
16
17const view = (state) =>
18 h('main', {}, [
19 h('h1', {}, [text(state.text)]),
20 h('input', {
21 value: state.text,
22 onchange: actions.setText
23 })
24 ])
25
26const app = new App()
27

Callers 1

index.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected