React
The React library
module Ref : sig ... end
val createRef : unit -> 'a option ref
val useRef : 'a -> 'a ref
module Event : sig ... end
module JSX : sig ... end
All of those types are used by the server-reason-react.ppx internally to represent valid React code from the server. It currently different from reason-react-ppx due to a need for knowing the types since ReactDOM needs to render differently depending on the type.
module Fragment : sig ... end
val string : string -> element
val null : element
val int : int -> element
val float : float -> element
module Context : sig ... end
val createContext : 'a -> 'a Context.t
module Suspense : sig ... end
exception Suspend of any_promise
val useContext : 'a Context.t -> 'a
module Children : sig ... end
module Experimental : sig ... end