npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

rix

1.0.0

@yoshuawuyts

npmHomeRepoSnykSocket
Downloads:0
$ npm install rix
DailyWeeklyMonthlyYearly

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

  • wayfarer
  • barracks

License

MIT