Skip to content

LubeckFRP/virtual-dom

Repository files navigation

virtual-dom

Bindings to virtual-dom. Based on on Elm's virtual DOM.

Alternative to ghcjs-vdom.

JS dependencies

A version of virtual-dom is commited into this repository (jsbits/virtual-dom-out.js).

To rebuild this with a newer version of virtual-dom:

  1. Change the virtual-dom version number in package.json (this file is only there to state the version of virtual-dom).
  2. Run npm install
  3. Run ./rebuild.sh

TODO

  • Better granularity with Event Types (where is this documented w.r.t. standard DOM?)
  • Possible optimizations:
    • Do not use Show internally
    • Trim Web.VirtualDom.nodeWithOptions (called once for every node created!)
  • Assure Web.VirtualDom.on does not leak (or leaks are not a problem)

Releases

No releases published

Packages

No packages published