package jsoo-react
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Bindings to ReactJS for js_of_ocaml, including JSX ppx
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      0.1.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=93d5751c01016f5aa018b80259df0c65ac12f25152cef1dbcff024ddfc1f07b5
    
    
  md5=240fd3b58cb002ff7eaa6ddddb7eba87
    
    
  doc/jsoo-react.lib/React/Hooks/index.html
Module React.HooksSource
Source
val use_reducer : 
  init:(unit -> 'state) ->
  ('state -> 'action -> 'state) ->
  'state * ('action -> unit)Source
val use_effect : 
  on:'deps ->
  ?equal:('deps -> 'deps -> bool) ->
  ?before_render:bool ->
  ?cleanup:(unit -> unit) ->
  (unit -> unit) ->
  unitSource
val use_effect_once : 
  ?before_render:bool ->
  ?cleanup:(unit -> unit) ->
  (unit -> unit) ->
  unitSource
val use_effect_always : 
  ?before_render:bool ->
  ?cleanup:(unit -> unit) ->
  (unit -> unit) ->
  unitSource
val use_resource : 
  on:'deps ->
  ?equal:('deps -> 'deps -> bool) ->
  ?before_render:bool ->
  release:('resource -> unit) ->
  (unit -> 'resource) ->
  unit sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >