npm install omom* It is based on the blazing fast virtual-dom implementation.
* It provides optional unidirectional event dispatcher, inspired by Flux and alt.js.
* It has no opinion on the tool you choose e.g. omom + immstruct, omom + Backbone.
* It is a very small collection of functions, no mixin, no inheritance, just functional composition.
* omom + immstruct
* omom + pojo [coming soon]
* omom + Backbone [coming soon]
* omom + router [coming soon]
``js
/* @jsx h /
import {h, loop, component} from 'omom'
let List = component(({items}) => {
items = items.map((item) => {
return
return (
let app = ({className, items}) => {
return (
let createInitialState = loop(document.body, render)
let update = createInitialState({className: 'foobar', items: ['foo', 'bar']})
// performs update
update({className: 'foobar', items: ['foo', 'bar', 'baz']})
`
npm install --save omom
Tests are served by zuul. Run make test` and visit http://localhost:8080/__zuul.
* Rob Pike's state functions
* Mike Bostock's Reusable Charts
* virtual-dom
* mercury
* deku