0.1.1 • Published 7 years ago
preact-hyperscript-h v0.1.1
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()