package server-reason-react

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module RuntimeSource

A small utility to raise issues with SSR

Mostly used internally by the ppxes

Sourceexception 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

Sourceval fail_impossible_action_in_ssr : string -> 'a
Sourcetype platform =
  1. | Server
  2. | Client
    (*

    `Runtime.platform` is required to use switch%platform. It's a simple variant that expresses the 2 platforms

    *)
OCaml

Innovation. Community. Security.