package server-reason-react
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Rendering React components on the server natively
Install
dune-project
Dependency
Authors
Maintainers
Sources
server-reason-react-0.4.1.tbz
sha256=2d27cb4656208dde8d5eb0c452c590186d092618ac0a04f1ab0a095a3ca58498
sha512=26e16daf87f6b80eff86ccf7df29153527b24e3f4dbc7f13820d1507b0a2e7d6db40fd774bcaad6e6cccff0bf19d4a411b95a10a071f9ce92d52bf07eb08f75f
doc/src/server-reason-react.js/Js_formdata.ml.html
Source file Js_formdata.ml
1 2 3 4 5 6 7 8 9 10(* TODO: This is a bad implementation for FormData, and not compatible with the Js.FormData from melange.js *) type entryValue = [ `String of string ] type t = (string, entryValue) Hashtbl.t let make = (fun () -> Hashtbl.create 10 : unit -> t) let append = (fun formData key value -> Hashtbl.add formData key value : t -> string -> entryValue -> unit) let get = (fun formData key -> Hashtbl.find formData key : t -> string -> entryValue) let entries : t -> (string * entryValue) list = fun formData -> Hashtbl.fold (fun key value acc -> (key, value) :: acc) formData []
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>