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.1.tbz
sha256=2d27cb4656208dde8d5eb0c452c590186d092618ac0a04f1ab0a095a3ca58498
sha512=26e16daf87f6b80eff86ccf7df29153527b24e3f4dbc7f13820d1507b0a2e7d6db40fd774bcaad6e6cccff0bf19d4a411b95a10a071f9ce92d52bf07eb08f75f

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

Module HtmlSource

Sourceval is_self_closing_tag : string -> bool
Sourceval escape : 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. | Int of int
  6. | Float of float
  7. | List of string * element list
  8. | 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