← All repos

incr_dom

A library for building dynamic webapps, using Js_of_ocaml.

Browse cluster: OCaml incremental computation and PPX tooling
187commits
8contributors
7languages

Tech stack & purpose

Incr_dom is a library for building dynamic webapps using Js_of_ocaml, an OCaml-to-JavaScript compiler. The library uses a model-view-controller architecture where incremental changes to application data are automatically reflected in the user interface through a dependency graph. It is built with OCaml and the Js_of_ocaml framework, and also utilizes the Incr library for managing incremental computations and the Virtual_dom library for constructing DOM elements. The repository includes multiple examples demonstrating features such as text input handling, keyboard event processing, error handling, partial rendering of large lists, and a complete TODO MVC application implementation.

Community & reference links

Languages

OCaml
95.6%
HTML
4.0%
JavaScript
0.2%
Makefile
0.1%
CSS
0.1%
Standard ML
0.0%
Dune
0.0%

Contributors