package virtual_dom
OCaml bindings for the virtual-dom library
Install
Dune Dependency
Authors
Maintainers
Sources
virtual_dom-v0.15.0.tar.gz
sha256=c32029907c0667369a500091533e2121c050e2392cfae7f07f2289e87c797390
Description
The library itself may be found at https://github.com/Matt-Esch/virtual-dom.
Published: 21 Mar 2022
README
README.org
#+TITLE: ~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 (10)
-
tyxml
>= "4.3.0"
-
lambdasoup
>= "0.6.3"
-
js_of_ocaml-ppx
>= "3.9.0"
-
js_of_ocaml
>= "3.9.0" & < "4.0.0"
-
gen_js_api
>= "1.0.8"
-
dune
>= "2.0.0"
-
ppx_jane
>= "v0.15" & < "v0.16"
-
core
>= "v0.15" & < "v0.16"
-
base
>= "v0.15" & < "v0.16"
-
ocaml
>= "4.08.0"
Dev Dependencies
None
Used by (6)
-
bonsai
>= "v0.15.0" & < "v0.16.0"
-
incr_dom
>= "v0.15.0" & < "v0.16.0"
-
incr_dom_interactive
>= "v0.15.0" & < "v0.16.0"
-
incr_dom_partial_render
>= "v0.15.0" & < "v0.16.0"
-
incr_dom_sexp_form
>= "v0.15.0" & < "v0.16.0"
-
memtrace_viewer
= "v0.15.0"
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page