Class LablgtkReact.Core.core

class ['a] core : ?container_link:'a container_link -> unit -> object .. end

method connect : 'a callback -> unit
Add a callback to be called when the state changes.
method send : 'a action -> unit
Send an action in order to make the state change.
method set_container_link : 'a container_link option -> unit
This function can be used to update the parent container of the state, if applicable.