Home

Awesome

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)
})