Home > @uniformdev/context-next > enableNextSsr
enableNextSsr() function
Enables request-data tracking during server-side rendering passes, and sending that data back up to the client.
This function must be called in a custom Next _document's getInitialProps function to work properly.
Signature:
Parameters
| Parameter | Type | Description |
|---|---|---|
| ctx | DocumentContext | |
| context | Context |
Returns:
void