Reference

renderToString

Renders a React-compatible node to an HTML string.

Signature

function renderToString(element: ReactCompatNode, _options?: ServerOptions): string