ghcjs-vdom (hackage): 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.
Keywords: library|mit|web