nuclear.js
v1.0.0
Published
Modular small front end framework
Maintainers
Readme
nuclear.js
Super small modular frontend framework.
Taking a lot of tips from React and Mercury, nuclear is extremely small.
Example
var nuclear = require('nuclear.js');
var h = nuclear.h;
function App () {
return nuclear.observ('Hello world!');
}
App.render = function (state) {
return (
h('h', state())
);
}
nuclear.app(document.body, App(), App.render);