fixi

0.2.0-alpha.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i fixi

Weekly Downloads

3

Version

0.2.0-alpha.2

License

ISC

Last publish

Collaborators

  • geigerzaehler