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.5.1.tbz
sha256=3972f64a3ec22b120b40137f74e7862629b2164e5bbf8b85489d4c7b8bc13288
sha512=24a52537c091c4b278ea5e468aa6786378f8b559ed2128e824b6f84f26c283856a30e7ef01aab6101087bd53b9bdc2ecd8152c00db10bccff67221b9c67318a0

doc/server-reason-react.js/Js/Re/index.html

Module Js.ReSource

Sourcetype t
Sourcetype result
Sourceval index : result -> int
Sourceval input : result -> string
Sourceval fromString : string -> t
Sourceval fromStringWithFlags : string -> flags:string -> t
Sourceval flags : t -> string
Sourceval global : t -> bool
Sourceval ignoreCase : t -> bool
Sourceval lastIndex : t -> int
Sourceval setLastIndex : t -> int -> unit
Sourceval multiline : t -> bool
Sourceval source : t -> string
Sourceval sticky : t -> bool
Sourceval unicode : t -> bool
Sourceval dotAll : t -> bool

Returns whether the dotAll (s) flag is set

Sourceval exec : str:string -> t -> result option
Sourceval test : str:string -> t -> bool
Sourceval captures : result -> string option array
Sourcemodule Prepared : sig ... end
Sourceval groups : result -> (string * string option) list

Returns all named capture groups as a list of (name, value) pairs. The value is None when the group did not participate in the match.

Sourceval group : string -> result -> string option

Returns the value of a named capture group, or None if not found