Super small modular frontend framework.
Taking a lot of tips from React and Mercury, nuclear is extremely small.
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);