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]
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 Mon Jan 2 19:24:17 UTC 2017
Executables ghcjs-vdom-example-render, ghcjs-vdom-example-components, ghcjs-vdom-example-table
Downloads 263 total (20 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-03 [all 3 reports]
Hackage Matrix CI


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



build the example programs


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


Maintainer's Corner

For package maintainers and hackage trustees

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.