package virtual_dom

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

Install

Dune Dependency

Authors

Maintainers

Sources

virtual_dom-v0.12.0.tar.gz
sha256=81444d2a97812b09c445e4d1c09ad9466e40a7886699b0d50fe1341a7eb9c7c5
md5=14d8f77f5119c9c88054675586173f49

Description

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

Published: 01 Mar 2019

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 (8)

  1. tyxml >= "4.3.0"
  2. js_of_ocaml-ppx
  3. js_of_ocaml >= "3.2.1"
  4. dune >= "1.5.1"
  5. ppx_jane >= "v0.12" & < "v0.13"
  6. core_kernel >= "v0.12" & < "v0.13"
  7. base >= "v0.12" & < "v0.13"
  8. ocaml >= "4.07.0"

Dev Dependencies

None

Used by (4)

  1. incr_dom = "v0.12.0"
  2. incr_dom_keyboard < "v0.13.0"
  3. incr_dom_partial_render < "v0.13.0"
  4. incr_dom_widgets = "v0.12.0"

Conflicts

None

OCaml

Innovation. Community. Security.