setReactDOMServerConfiguration function

dynamic setReactDOMServerConfiguration(
  1. dynamic customRenderToString,
  2. dynamic customRenderToStaticMarkup
)

Sets configuration based on passed functions.

Passes arguments to global variables.

Implementation

setReactDOMServerConfiguration(customRenderToString, customRenderToStaticMarkup) {
  renderToString = customRenderToString;
  renderToStaticMarkup = customRenderToStaticMarkup;
}