package server-reason-react
Rendering React components on the server natively
Install
Dune Dependency
Authors
Maintainers
Sources
server-reason-react-0.2.0.tbz
sha256=f7e93b2c24e6420ed7352f5b04ff028ea6ea8b9b91679bbce43aadfcae028f34
sha512=b74f883d8fad95738b7dd9b51f23af27ef1b541939ad9b8ea65cfb0d48a217c2265ca9319e9355c7782bf223a5168ee4ff236677503afa301c8b7b08561fcd8c
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)"
>