virtual-elements
v0.0.2
Published
Wrappers for virtual-hyperscript elements.
Downloads
1
Maintainers
Readme
Use virtual-hyperscript with individual elements:
{div, button, h1} = require 'virtual-elements'
vtree = (div {},
(h1 {}, 'alôu')
(button {},
'beleza'
)
)
Good for using with Coffeescript, as you would do with the lispy-React pattern exampled in http://html2react.alhur.es/.