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/src/server-reason-react.js/Js_internal.ml.html

Source file Js_internal.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
exception Not_implemented of string

let notImplemented module_ function_ =
  let msg =
    Printf.sprintf
      "'%s.%s' is not implemented in native on `server-reason-react.js`. You are running code that depends on the \
       browser, this is not supported. If this case should run on native and there's no browser dependency, please \
       open an issue at %s"
      module_ function_ "https://github.com/ml-in-barcelona/server-reason-react/issues"
  in
  raise (Not_implemented msg)

type 'a null = 'a option
type 'a undefined = 'a option
type 'a nullable = 'a option