diff --git a/packages/next/README.md b/packages/next/README.md index f11a6db8ec8501dd1d6dc7090d062cf0e598544c..ae073c619eb62184699528dc20034c5ad8d9824a 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -1120,6 +1120,8 @@ export default class MyDocument extends Document { } ``` +All of ``, `
` and `` are required for page to be properly rendered. + The `ctx` object is equivalent to the one received in all [`getInitialProps`](#fetching-data-and-component-lifecycle) hooks, with one addition: - `renderPage` (`Function`) a callback that executes the actual React rendering logic (synchronously). It's useful to decorate this function in order to support server-rendering wrappers like Aphrodite's [`renderStatic`](https://github.com/Khan/aphrodite#server-side-rendering)