Sourceval use_ref_lazy : (unit -> 'value) -> 'value ref Sourceval use_state : 'state -> 'state * (('state -> 'state) -> unit) Sourceval use_state_lazy : (unit -> 'state) -> 'state * (('state -> 'state) -> unit) Sourceval use_reducer :
init:(unit -> 'state) ->
('state -> 'action -> 'state) ->
'state * ('action -> unit) Sourceval use_effect :
on:'deps ->
?equal:('deps -> 'deps -> bool) ->
?before_render:bool ->
?cleanup:(unit -> unit) ->
(unit -> unit) ->
unit Sourceval use_effect_once :
?before_render:bool ->
?cleanup:(unit -> unit) ->
(unit -> unit) ->
unit Sourceval use_effect_always :
?before_render:bool ->
?cleanup:(unit -> unit) ->
(unit -> unit) ->
unit Sourceval use_resource :
on:'deps ->
?equal:('deps -> 'deps -> bool) ->
?before_render:bool ->
release:('resource -> unit) ->
(unit -> 'resource) ->
unit Sourceval use_memo :
on:'deps ->
?equal:('deps -> 'deps -> bool) ->
(unit -> 'value) ->
'value Sourceval use_context : 'value React__.Core.Context.t -> 'value