0.2.0-alpha.2 • Published 7 years ago

fixi v0.2.0-alpha.2

Weekly downloads
2
License
ISC
Repository
-
Last release
7 years ago

Fixi

Build Status

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)

> API Documentation