package server-reason-react

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module ReactServerDOMSource

Sourceval render_html : ?skipRoot:bool -> ?env:[ `Dev | `Prod ] -> ?debug:bool -> ?bootstrapScriptContent:string -> ?bootstrapScripts:string list -> ?bootstrapModules:string list -> React.element -> (string * ((string -> unit Lwt.t) -> unit Lwt.t)) Lwt.t
Sourceval render_model : ?env:[ `Dev | `Prod ] -> ?debug:bool -> ?subscribe:(string -> unit Lwt.t) -> React.element -> unit Lwt.t
Sourceval create_action_response : ?env:[ `Dev | `Prod ] -> ?debug:bool -> ?subscribe:(string -> unit Lwt.t) -> React.model_value Lwt.t -> unit Lwt.t
Sourcetype server_function =
  1. | FormData of Yojson.Basic.t array -> Js.FormData.t -> React.model_value Lwt.t
  2. | Body of Yojson.Basic.t array -> React.model_value Lwt.t
Sourceval decodeReply : string -> Yojson.Basic.t array
Sourceval decodeFormDataReply : Js.FormData.t -> Yojson.Basic.t array * Js.FormData.t
Sourcemodule type FunctionReferences = sig ... end