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.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
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval clearTimeout : timeoutId -> unit
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval setInterval : f:(unit -> unit) -> int -> intervalId
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval setIntervalFloat : f:(unit -> unit) -> float -> intervalId
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval setTimeout : f:(unit -> unit) -> int -> timeoutId
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval setTimeoutFloat : f:(unit -> unit) -> float -> timeoutId
  • alert not_implemented is not implemented in native under server-reason-react.js
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.