Module ReasonReactErrorBoundary

type info = {
  1. componentStack : string;
}

* Important note on this module: * As soon as React provides a mechanism for error-catching using functional component, * this is likely to be deprecated and/or move to user space.

type 'error params = {
  1. error : 'error;
  2. info : info;
}
val makeProps : children:React.element -> fallback:('error params -> React.element) -> ?key:string -> unit -> < children : React.element ; fallback : 'error params -> React.element > Js.t
val make : (< children : React.element ; fallback : 'error params -> React.element > Js.t, React.element) React.componentLike