server-reason-react.runtime
Runtime
A small utility to raise issues with SSR
Mostly used internally by the ppxes
browser_ppx
melange_native_ppx
server-reason-react.base32
server-reason-react.belt
server-reason-react.dom
server-reason-react.html
server-reason-react.js
server-reason-react.melange-fetch
server-reason-react.promise-js
server-reason-react.promise-native
server-reason-react.react
server-reason-react.reactDom
server-reason-react.url_js
server-reason-react.url_native
server-reason-react.webapi
server-reason-react.xxhash
server_reason_react_ppx
exception Impossible_in_ssr of string
Exception to throw when operations aren't meant to be running on native, mostly used by browser_ppx or ReactDOM
val fail_impossible_action_in_ssr : string -> 'a
type platform =
| Server
| Client
`Runtime.platform` is required to use switch%platform. It's a simple variant that expresses the 2 platforms