0.1.1 • Published 7 years ago
@loll/h v0.1.1
@loll/h
Component builder for @loll/app.
Exposes picodom's h
function for building VDOM nodes. Can be used with or without JSX. See the picodom README for more.
Install
npm i @loll/h --save
Usage
/** @jsx h */
import h from '@loll/h'
function MyComponent () {
return (
<h1>Hello world</h1>
)
}
Dependencies
- picodom - 1 KB VDOM builder and patch function.
MIT