LubeckFRP / virtual-dom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

License:MIT License


Languages

Language:Haskell 64.3%Language:JavaScript 35.4%Language:Shell 0.2%