Module Lifecycle.Collection

type nonrec t = t Path.Map.t
val has_after_display : t -> bool
val get_before_display : old:t -> new_:t -> unit Ui_effect.t option

Gets the before_displays that occur in new_ but not old. If you want all the before_displays, use ~old:empty. Returns None if there are no before_displays left to run.

val get_after_display : old:t -> new_:t -> unit Ui_effect.t

Gathers the activations and deactivations that have occurred between old and new_, as well as all the after_displays in new_.

val empty : t
val merge : t Ui_incr.t -> t Ui_incr.t -> t Ui_incr.t