renderToStaticMarkup

A React DOM server function that renders a component tree to a plain HTML string, with no interactivity attached.

In more detail

The course uses it in quick examples to print what a component produces. Real server rendering uses streaming functions such as renderToPipeableStream, followed by hydration in the browser.

Related terms

Taught in

References