package virtual_dom

  1. Overview
  2. Docs
OCaml bindings for the virtual-dom library

Install

Dune Dependency

Authors

Maintainers

Sources

virtual_dom-v0.10.0.tar.gz
sha256=910f4257b8bc1b0057333d10ebe9cd53ccc0f70e449488b32eaaab1fb4bdf1c4
md5=fac541ed89fd7264f08d4a6965ac0c40

Description

The library itself may be found at https://github.com/Matt-Esch/virtual-dom.

Published: 03 Jan 2018

README

README.org

#+TITLE: ~Virtual_dom~: a virtual DOM diffing library
#+PARENT: ../../doc/webdev/index.org

This library is an OCaml wrapper of Matt Esch's [[https://github.com/Matt-Esch/virtual-dom][virtual-dom library]].
It provides a simple, immutable representation of a desired state of
the DOM, as well as primitives for updating the real DOM in the
browser to match that, both by slamming the entire DOM in place, and
by computing diffs between successive virtual-DOMs, and applying the
resulting patch to the real DOM.

Dependencies (9)

  1. tyxml < "4.3"
  2. ocaml-migrate-parsetree >= "0.4" & < "2.0.0"
  3. js_of_ocaml-ppx
  4. js_of_ocaml >= "3.0"
  5. jbuilder >= "1.0+beta12"
  6. ppx_jane >= "v0.10" & < "v0.11"
  7. ppx_driver >= "v0.10" & < "v0.11"
  8. base >= "v0.10" & < "v0.11"
  9. ocaml >= "4.04.1"

Dev Dependencies

None

Used by (1)

  1. incr_dom = "v0.10.0"

Conflicts

None

OCaml

Innovation. Community. Security.