1.0.0 • Published 11 years ago
rix v1.0.0
rix
wip Reactive interface library built for browserify.
Installation
$ npm install rix
Usage
const el = require('rix')
const button = el()
button.on('render', function(dom, state, props) {
return dom('button', null, ['click me']);
})
button.on('mount', function(instance, el, state, props) {
// do other stuff
})
Why?
React is getting bloated and doesn't play nice with the DOM. There are some alternatives like deku but they all have short comings. What we need is a library that plays well with the dom, uses js, has a virtual dom and a very small interface. Rix tries to be that library.