INACTIVE - http://mzl.la/ghe-archive - virtual-dom based driver for reflex
27c230fd1f | ||
---|---|---|
src | ||
test | ||
.babelrc | ||
.flowconfig | ||
.gitignore | ||
.npmignore | ||
.travis.yml | ||
Readme.md | ||
package.json | ||
yarn.lock |
Readme.md
reflex-react-driver
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)
})