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/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