package virtual_dom
OCaml bindings for the virtual-dom library
Install
Dune Dependency
Authors
Maintainers
Sources
virtual_dom-v0.13.0.tar.gz
sha256=60079d1a4a4a71f97631d97560047d3ff38ff439dc126ad1b1d0b391daeda249
md5=ef2c93a9bd968b44e09fee501f853a2d
README.org.html
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>