Frikki on master
docs(README): update with depre… (compare)
||
operator, so maybe it justs works
h(tag, data, children)
tsconfig.json
and we're good to go \o/
h('div', null, [])
for an empty div
h(componentFunction, null, [])
<div><MyComponent/></div>
props => <div/>
typeof tagName === 'function' ? tagName(data, children)
somewhere
typeof tagName === 'function' ? tagName(data === null ? {} : data, children)
h('div', data, [])
API
h('div', data, ...children)