package incr_dom

  1. Overview
  2. Docs
module Model : Model
type t
val create : Model.t Incr.t -> t Incr.t

create sets up the incremental that performs the shared computations. Sharing computations will typically look something like this:

let%map shared1 = computation1
and     shared2 = computation2
and     shared3 = computation3
in
{ shared1; shared2; shared3 }