node package manager

fixi

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