package virtual_dom
Build not yet checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=812711b4d5ce634a413580cd7096482de8d71abec9ae37bb01f7c0dcec2968ec
Description
The library itself may be found at https://github.com/Matt-Esch/virtual-dom.
Added to opam-repository:
README
"Virtual_dom: a virtual DOM diffing library"
This library is an OCaml wrapper of Matt Esch's 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.
It has been vendored internally as the external library has gone unsupported for many years and we needed some modifications.
Contributing
Please exercise a high degree of caution if you modify this library. Our testing infrastructure doesn't support robust browser testing, so any changes here should be thoroughly smoke tested on a variety of apps with different usecases and potential DOM ~ab~uses. We intend this code to be as stable/unchanging as possible because of the difficult testing situation and near ubiquitous use in web apps at Jane Street.
Dependencies (15)
-
uri
>= "3.0.0" -
tyxml
>= "4.3.0" -
lambdasoup
>= "0.6.3" -
js_of_ocaml-ppx
>= "5.1.1" & < "5.7.0" -
js_of_ocaml
>= "5.1.1" & < "5.7.0" -
gen_js_api
>= "1.0.8" -
dune
>= "3.11.0" -
base64
>= "3.4.0" -
stdio
>= "v0.17" & < "v0.18~" -
ppx_jane
>= "v0.17" & < "v0.18~" -
js_of_ocaml_patches
>= "v0.17" & < "v0.18~" -
core_kernel
>= "v0.17" & < "v0.18~" -
core
>= "v0.17" & < "v0.18~" -
base
>= "v0.17" & < "v0.18~" -
ocaml
>= "5.1.0"
Dev Dependencies
None
Optional Dependencies
None
Used by (9)
-
bonsai
>= "v0.17.0" - codicons
-
incr_dom
>= "v0.17.0" -
incr_dom_interactive
>= "v0.17.0" -
incr_dom_partial_render
>= "v0.17.0" -
incr_dom_sexp_form
>= "v0.17.0" -
memtrace_viewer
>= "v0.17.0" -
ppx_css
>= "v0.17.0" - virtual_dom_toplayer
Conflicts
None
Build status
Results of building virtual_dom with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| v0.16.0 | n/a | n/a | good | n/a | n/a |
| v0.15.1 | good | n/a | n/a | n/a | n/a |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure