Socket
Book a DemoInstallSign in
Socket

rix

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rix

rix

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 21 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts