Bindings to virtual-dom. Based on on Elm's virtual DOM.
Alternative to ghcjs-vdom.
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:
- Change the
virtual-domversion number inpackage.json(this file is only there to state the version of virtual-dom). - Run
npm install - Run
./rebuild.sh
- 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.ondoes not leak (or leaks are not a problem)