Next.js resolution order
Next.js resolution order on the server-side :
- app.getInitialProps
- page.getInitialProps
- document.getInitialProps
- app.render
- page.render
- document.render
and on the client-side:
- app.getInitialProps
- page.getInitialProps
- app.render
- page.render