package server-reason-react

  1. Overview
  2. Docs
Rendering React components on the server natively

Install

dune-project
 Dependency

Authors

Maintainers

Sources

server-reason-react-0.4.0.tbz
sha256=7811cd16a7256edbebd06057072142fc2fa1d81de784442e21f3225f06f08ce2
sha512=d60084b34f4086bc401f5f1e209714ab297b5dd94b9b55050816ba9dd0579b2c88745b1813ab57d9584c826af9602df279e8ecfdc04cde62f94d1fec9506dd45

doc/server-reason-react.html/Html/index.html

Module HtmlSource

Sourceval is_self_closing_tag : string -> bool
Sourceval escape_and_add : Buffer.t -> string -> unit
Sourcetype attribute = [
  1. | `Present of string
  2. | `Value of string * string
  3. | `Omitted
]
Sourcetype attribute_list = attribute list
Sourceval attribute : 'a -> 'b -> [> `Value of 'a * 'b ]
Sourceval present : 'a -> [> `Present of 'a ]
Sourceval omitted : unit -> [> `Omitted ]
Sourceval write_attribute : Buffer.t -> attribute -> unit
Sourcetype element =
  1. | Null
  2. | String of string
  3. | Raw of string
  4. | Node of node
  5. | List of string * element list
  6. | Array of element array
Sourceand node = {
  1. tag : string;
  2. attributes : attribute_list;
  3. children : element list;
}
Sourceval string : string -> element
Sourceval raw : string -> element
Sourceval null : element
Sourceval int : int -> element
Sourceval float : float -> element
Sourceval list : ?separator:string -> element list -> element
Sourceval array : element array -> element
Sourceval fragment : (string * element list) -> element
Sourceval node : string -> attribute_list -> element list -> element
Sourceval to_string : ?add_separator_between_text_nodes:bool -> element -> string
Sourceval pp : element -> string
Sourceval add_single_quote_escaped : Buffer.t -> string -> unit
Sourceval single_quote_escape : string -> string