GitXplorerGitXplorer
j

virtual_dom

public
56 stars
21 forks
1 issues

Commits

List of commits on branch master.
Unverified
eaa93cc30d1257007ab9e5c4398ce28cb91f2f3a

v0.18~preview.130.05+548

ppublic-release committed 2 months ago
Unverified
ccb1cff5aa9e4571c789eba89537f86001fd6f83

v0.18~preview.130.00+55

ppublic-release committed 3 months ago
Unverified
80a69aa6df99af702336fbf5bb08283e3694e5a6

v0.18~preview.129.42+498

ppublic-release committed 4 months ago
Unverified
af8fe0b17d3b24fe570fe89619350888fb8ad91b

v0.17~preview.129.36+325

ppublic-release committed 5 months ago
Unverified
ec9a75c9badcdbaaac59cf92c559911f68c1e6e7

v0.17~preview.129.17+77

ppublic-release committed 8 months ago
Unverified
48d6203a301023b34d677590ce8cafe558152c57

v0.17~preview.129.17+77

ppublic-release committed 9 months ago

README

The README file for this repository.

"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 abuses. 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.