package virtual_dom

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

Install

Dune Dependency

Authors

Maintainers

Sources

virtual_dom-v0.16.0.tar.gz
sha256=0c6f07894dce56db88d46b3aa4f2cad1a84aeaf0009560a285492f9f2959d565

Description

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

Published: 14 Jun 2023

README

"Virtual_dom: a virtual DOM diffing library"

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

  1. uri >= "3.0.0"
  2. tyxml >= "4.3.0"
  3. lambdasoup >= "0.6.3"
  4. js_of_ocaml-ppx >= "5.1.1"
  5. js_of_ocaml >= "5.1.1"
  6. gen_js_api >= "1.0.8"
  7. dune >= "2.0.0"
  8. base64 >= "3.4.0"
  9. stdio >= "v0.16" & < "v0.17"
  10. ppx_jane >= "v0.16" & < "v0.17"
  11. js_of_ocaml_patches >= "v0.16" & < "v0.17"
  12. core_kernel >= "v0.16" & < "v0.17"
  13. core >= "v0.16" & < "v0.17"
  14. base >= "v0.16" & < "v0.17"
  15. ocaml >= "4.14.0"

Dev Dependencies

None

Used by (7)

  1. bonsai = "v0.16.0"
  2. incr_dom = "v0.16.0"
  3. incr_dom_interactive = "v0.16.0"
  4. incr_dom_partial_render = "v0.16.0"
  5. incr_dom_sexp_form = "v0.16.0"
  6. memtrace_viewer = "v0.16.0"
  7. ppx_css = "v0.16.0"

Conflicts

None

OCaml

Innovation. Community. Security.