package brisk-reconciler

  1. Overview
  2. Docs
type 'a t
type lifecycle =
  1. | Mount
  2. | Unmount
  3. | Update
type always
type onMount
type 'a condition =
  1. | Always : always condition
  2. | OnMount : onMount condition
  3. | If : ('a -> 'a -> bool) * 'a -> 'a condition
  4. | OnMountAndIf : ('a -> 'a -> bool) * 'a -> 'a condition
type handler = unit -> (unit -> unit) option
type hook += private
  1. | Effect : 'a t -> 'a t hook
OCaml

Innovation. Community. Security.