snabbdom-render
A rendering loop for snabbdom.
Installation
npm install snabbdom-render
Usage
const patch = snabbdomconst tree =const root = documentconst update =
For an example built with Redux, see examples/counter.
API
update = render(patch, tree, root)
Use patch
to render the given tree
on the root
node.