main-loop-app
v0.1.0
Published
Basic application glue code taken directly from raynos/mercury for use in chrisinajar/not-mercury.
Downloads
6
Maintainers
Readme
main-loop-app
Basic application glue code taken directly from mercury for use in not-mercury.
Installation
npm install --save main-loop-app
Usage
var app = require('main-loop-app');
var state = Observ({
foo: 'bar'
});
function render (state) {
return h('div', state.foo);
}
app(document.body, state, render);
Contributing
npm run test
License
MIT