ghcjs-vdom: Virtual-dom bindings for GHCJS

[ library, mit, web ] [ Propose Tags ]

Virtual-dom is a library for fast incremental DOM updates by comparing virtual immutable DOM trees to find a minimal number of changes to update the actual DOM. The bindings support memoized nodes which are only recomputed when the underlying data changes, using referential equality for the function and arguments. The diff procedure in the virtual-dom library has been modified slightly to support computing a diff in an asynchronous thread. Since computing a diff forces all data around the virtual-dom tree, the computation, the computation can be expensive. An asynchronous diff computation can be safely aborted with an async exception.

[Skip to Readme]


      • GHCJS.VDOM.Attribute
      • GHCJS.VDOM.Component
      • GHCJS.VDOM.DOMComponent
      • GHCJS.VDOM.Element
      • GHCJS.VDOM.Event
      • GHCJS.VDOM.Render
      • GHCJS.VDOM.Unsafe


Manual Flags


build the example programs


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS]
Dependencies base (>=4.7 && <5), containers, ghc-prim, ghcjs-base (>=, ghcjs-ffiqq, ghcjs-prim, ghcjs-vdom, split, template-haskell [details]
License MIT
Author Luite Stegeman
Category Web
Uploaded by TobiasDammers at 2017-01-02T19:24:17Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables ghcjs-vdom-example-render, ghcjs-vdom-example-components, ghcjs-vdom-example-table
Downloads 879 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-03 [all 3 reports]

Readme for ghcjs-vdom-

[back to package description]

virtual-dom bindings

virtual-dom is a library for fast incremental DOM updates by comparing immutable virtual DOM trees.