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/src/server-reason-react.dom/Dom_storage.ml.html
Source file Dom_storage.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
type t external getItem : string -> string option = "getItem" [@@mel.send.pipe: t] [@@mel.return null_to_opt] external setItem : string -> string -> unit = "setItem" [@@mel.send.pipe: t] external removeItem : string -> unit = "removeItem" [@@mel.send.pipe: t] external clear : unit = "clear" [@@mel.send.pipe: t] external key : int -> string option = "key" [@@mel.send.pipe: t] [@@mel.return null_to_opt] external length : t -> int = "length" [@@mel.get] (* external localStorage : t = "localStorage" *) (* external sessionStorage : t = "sessionStorage" *)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>