fixi
v0.2.0-alpha.2
Published
[![Build Status](https://travis-ci.org/geigerzaehler/fixi.svg?branch=master)](https://travis-ci.org/geigerzaehler/fixi)
Downloads
21
Readme
Fixi
A modular, functional library for building UI components for the DOM
import {renderInto, h, ev, Component} from 'fixi'
const app = Component.stateful(render, 0)
function render (count, update) {
return h('button', {
click: ev(() => update(count + 1))
}, [
`Clicked ${count} times`
])
}
renderInto(app, document.body)