package jsoo-react

  1. Overview
  2. Docs
include module type of struct include Dom end
val dom_element_to_js : dom_element -> Ojs.t
val dom_element_of_js : Ojs.t -> dom_element
val unmount_component_at_node : dom_element -> bool
val render : Ojs.t -> dom_element -> unit
val render_to_element : id:string -> Ojs.t -> unit
val create_portal : Ojs.t -> dom_element -> Ojs.t
type dom_ref = private Ojs.t
module Ref : sig ... end
type domProps = private Ojs.t
val create_element : string -> props:domProps -> Ojs.t list -> Ojs.t
val forward_ref : ('props -> dom_ref -> Ojs.t) -> 'props -> Ojs.t
type block
module Style : sig ... end
module SafeString : sig ... end
module Dsl : sig ... end
OCaml

Innovation. Community. Security.