1.0.0 • Published 9 years ago

nuclear.js v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

nuclear.js

Build Status Code Climate Test Coverage

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);