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/Global/index.html

Module Js.GlobalSource

Contains functions available in the global scope (window in a browser context)

Sourcetype intervalId

Identify an interval started by setInterval

Sourcetype timeoutId

Identify timeout started by setTimeout

Sourceval clearInterval : intervalId -> unit
Sourceval clearTimeout : timeoutId -> unit
Sourceval setInterval : f:(unit -> unit) -> int -> intervalId
Sourceval setIntervalFloat : f:(unit -> unit) -> float -> intervalId
Sourceval setTimeout : f:(unit -> unit) -> int -> timeoutId
Sourceval setTimeoutFloat : f:(unit -> unit) -> float -> timeoutId
Sourceval encodeURI : string -> string
Sourceval decodeURI : string -> string
Sourceval encodeURIComponent : string -> string
Sourceval decodeURIComponent : string -> string
Sourceval parseFloat : string -> float

Parses a string and returns a floating point number. Returns NaN if parsing fails.

Sourceval parseInt : ?radix:int -> string -> float

Parses a string and returns an integer. Returns NaN if parsing fails.

  • parameter radix

    The base (2-36) to use for parsing. Default is 10.