menu
Menu
Mobify DevCenter
search_icon_focus

React Rendering

progressive-web-sdk/dist/ssr/server/react-rendering

render(req, res)

This is the main react-rendering function for SSR. It is an Express handler.

Import
import { render } from 'progressive-web-sdk/dist/ssr/server/react-rendering

Returns:

Promise

ParameterDescription
reqRequest
resResponse