ghcjs-vdom: Virtual-dom bindings for GHCJS

[ library, mit, web ] [ Propose Tags ] [ Report a vulnerability ]

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]

Modules

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

Flags

Manual Flags

NameDescriptionDefault
build-examples

build the example programs

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.0.0
Dependencies base (>=4.7 && <5), containers, ghc-prim, ghcjs-base (>=0.2.0.0), ghcjs-ffiqq, ghcjs-prim, ghcjs-vdom, split, template-haskell [details]
License MIT
Author Luite Stegeman
Maintainer stegeman@gmail.com
Category Web
Uploaded by TobiasDammers at 2017-01-02T19:24:17Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables ghcjs-vdom-example-render, ghcjs-vdom-example-components, ghcjs-vdom-example-table
Downloads 898 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-0.2.0.0

[back to package description]

virtual-dom bindings

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