0.1.1 • Published 7 years ago

@loll/h v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

@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

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago