package server-reason-react
Rendering React components on the server natively
Install
Dune Dependency
Authors
Maintainers
Sources
server-reason-react-0.3.1.tbz
sha256=b97fbe6a7c3e5e1a7775e0f6498f257acaaa7e272177a9a3e0e50b7a49408d7c
sha512=b27a94618c367c80efef83a41c2a59c9cc7848fd753049ed40fa1f2cface1ef34cf3a995835bf08e2eb59c3186911f429b4706ed07dcb9724df6af5eb012a31d
doc/server-reason-react.react/React/index.html
Module React
Source
The React library
All of those types are used by the server-reason-react.ppx internally to represent valid React code from the server. It currently different from reason-react-ppx due to a need for knowing the types since ReactDOM needs to render differently depending on the type.
Source
val useReducerWithMapState :
('state -> 'action -> 'initialState) ->
'initialState ->
('initialState -> 'state) ->
'state * ('action -> unit)
Source
val useEffect3 :
(unit -> (unit -> unit) option) ->
('dependency1 * 'dependency2 * 'dependency3) ->
unit
Source
val useEffect4 :
(unit -> (unit -> unit) option) ->
('dependency1 * 'dependency2 * 'dependency3 * 'dependency4) ->
unit
Source
val useEffect5 :
(unit -> (unit -> unit) option) ->
('dependency1 * 'dependency2 * 'dependency3 * 'dependency4 * 'dependency5) ->
unit
Source
val useEffect6 :
(unit -> (unit -> unit) option) ->
('dependency1
* 'dependency2
* 'dependency3
* 'dependency4
* 'dependency5
* 'dependency6) ->
unit
Source
val useLayoutEffect2 :
(unit -> (unit -> unit) option) ->
('dependency1 * 'dependency2) ->
unit
Source
val useLayoutEffect3 :
(unit -> (unit -> unit) option) ->
('dependency1 * 'dependency2 * 'dependency3) ->
unit
Source
val useLayoutEffect4 :
(unit -> (unit -> unit) option) ->
('dependency1 * 'dependency2 * 'dependency3 * 'dependency4) ->
unit
Source
val useLayoutEffect5 :
(unit -> (unit -> unit) option) ->
('dependency1 * 'dependency2 * 'dependency3 * 'dependency4 * 'dependency5) ->
unit
Source
val useLayoutEffect6 :
(unit -> (unit -> unit) option) ->
('dependency1
* 'dependency2
* 'dependency3
* 'dependency4
* 'dependency5
* 'dependency6) ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>