server rendering

Turning React components into an HTML string on a server or in a script, instead of drawing them in a browser.

In more detail

The lessons use renderToString from react-dom/server to render components and then check the resulting HTML for the right roles and attributes. Frameworks such as Next.js render pages this way before sending them to the browser.

Related terms

Taught in

References