1.0.5 • Published 8 years ago

w3-reflex v1.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

Reflex

Simple Reactive Framework

This library or framework takes a render function that must return a virtual-dom tree and a simple function that takes an event and returns state, it is called a transform function.

Example

const app = require('reflex')

const render = function (emitter) {
  return function (state) {
    return h('h1', [state.title])
  }
}

// transform uses mostjs streams for async
const transform = function (event) {
  var state = {}
  return most.of(state )
}

app(render, transform)
1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago