0.1.0 • Published 7 years ago
preact-hyperscript-h_pr3b v0.1.0
preact-hyperscript-h
Shortcuts to preact-hyperscript's createElement, and other methods.
Install
npm install preact-hyperscript
npm install preact-hyperscript-h
Usage
// Instead of:
// import {div, createElement as h} from 'preact-hyperscript'
import h from 'preact-hyperscript-h'
h(SomeComponent)
h('div')
h.div()
0.1.0
7 years ago