INACTIVE - http://mzl.la/ghe-archive - virtual-dom based driver for reflex
Перейти к файлу
Irakli Gozalishvili 27c230fd1f Simplify example in readme. 2017-07-03 16:45:35 -07:00
src Upgrade to reflex@1.1 2017-07-03 16:21:56 -07:00
test Upgrade to reflex@1.1 2017-07-03 16:21:56 -07:00
.babelrc Upgrade to reflex@1.1 2017-07-03 16:21:56 -07:00
.flowconfig Update to latest versions. 2017-07-03 16:35:04 -07:00
.gitignore Update to latest flow version. 2017-06-22 17:28:54 -07:00
.npmignore Update to latest flow version. 2017-06-22 17:28:54 -07:00
.travis.yml setup travis. 2015-10-20 00:37:04 -07:00
Readme.md Simplify example in readme. 2017-07-03 16:45:35 -07:00
package.json Update to latest versions. 2017-07-03 16:35:04 -07:00
yarn.lock Update to latest versions. 2017-07-03 16:35:04 -07:00

Readme.md

reflex-react-driver

NPM version Build Status Gitter styled with prettier

This is a reflex application view driver that uses virtual-dom library for rendering into a DOM.

Usage

import {init, update, view} from "./app"
import {start} from "reflex"
import {Renderer} from "reflex-virtual-dom-driver"

const renderer = new Renderer({target: document.body})
const app = start({init, update, view}, ({view}) => {
  renderer.render(view)
})