package incr_dom

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

incr_dom-v0.13.0.tar.gz
sha256=0a0bfca8780769ac81a57dabeecdc160524b5a6d203aa25e9a02f9f1441949c2
md5=2abd35e4214340ea3a55d8687cf148f9

Description

The library is designed roughly on a model/view/controller model. Your application is built out of:

  • A functional model type that tracks the state of your application.

  • An incremental /view/ function for computing an HTML-like representation of how your application should render on the browser. The is based on the [[https://github.com/Matt-Esch/virtual-dom][virtual-dom]] javascript library.

  • An action type that is used to schedule events that update the model.

Combined with the ability to use Async, and in particular to send out network requests using websockets, this should allow the easy construction of rich web applications in a fairly comprehensible style.

If you want a more concrete sense of how this works, look in the examples directory.

Published: 20 Nov 2019

Dependencies (12)

  1. js_of_ocaml-ppx
  2. js_of_ocaml >= "3.4.1" & < "4.0.0"
  3. dune >= "1.5.1"
  4. virtual_dom >= "v0.13" & < "v0.14"
  5. ppx_jane >= "v0.13" & < "v0.14"
  6. incremental >= "v0.13" & < "v0.14"
  7. incr_select >= "v0.13" & < "v0.14"
  8. incr_map >= "v0.13" & < "v0.14"
  9. core_kernel >= "v0.13" & < "v0.14"
  10. async_kernel >= "v0.13" & < "v0.14"
  11. async_js >= "v0.13" & < "v0.14"
  12. ocaml >= "4.08.0"

Dev Dependencies

None

Used by (4)

  1. bonsai < "v0.14.0"
  2. incr_dom_keyboard = "v0.13.0"
  3. incr_dom_partial_render = "v0.13.0"
  4. incr_dom_widgets >= "v0.13.0"

Conflicts

None

OCaml

Innovation. Community. Security.