package jsoo-react
Bindings to ReactJS for js_of_ocaml, including JSX ppx
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.tar.gz
sha256=93d5751c01016f5aa018b80259df0c65ac12f25152cef1dbcff024ddfc1f07b5
md5=240fd3b58cb002ff7eaa6ddddb7eba87
doc/jsoo-react.lib/React/index.html
Module React
Source
Source
val use_effect_always :
?before_render:bool ->
(unit -> (unit -> unit) option_undefined) ->
unit
Source
val use_effect_once :
?before_render:bool ->
(unit -> (unit -> unit) option_undefined) ->
unit
Source
val use_effect1 :
?before_render:bool ->
(unit -> (unit -> unit) option_undefined) ->
'a ->
unit
Source
val use_effect2 :
?before_render:bool ->
(unit -> (unit -> unit) option_undefined) ->
('a * 'b) ->
unit
Source
val use_effect3 :
?before_render:bool ->
(unit -> (unit -> unit) option_undefined) ->
('a * 'b * 'c) ->
unit
Source
val use_effect4 :
?before_render:bool ->
(unit -> (unit -> unit) option_undefined) ->
('a * 'b * 'c * 'd) ->
unit
Source
val use_effect5 :
?before_render:bool ->
(unit -> (unit -> unit) option_undefined) ->
('a * 'b * 'c * 'd * 'e) ->
unit
Source
val use_effect6 :
?before_render:bool ->
(unit -> (unit -> unit) option_undefined) ->
('a * 'b * 'c * 'd * 'e * 'f) ->
unit
Source
val use_effect7 :
?before_render:bool ->
(unit -> (unit -> unit) option_undefined) ->
('a * 'b * 'c * 'd * 'e * 'f * 'g) ->
unit
Source
val use_reducer :
init:(unit -> 'state) ->
('state -> 'action -> 'state) ->
'state * ('action -> unit)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>