Reference

renderToStaticMarkup

Renders a React-compatible node to static HTML without hydration metadata.

Signature

function renderToStaticMarkup(element: ReactCompatNode, options?: ServerOptions): string