rix

1.0.0 • Public • Published

rix

NPM version build status Test coverage Downloads

[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.

See Also

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i rix

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • yoshuawuyts