rsnext/docs/api-reference/data-fetching
Curt Siffert f4bf8a4696
Update getInitialProps.md (#19506)
To clarify what I've noticed as a common source of confusion in discussions online. Fixes https://github.com/vercel/next.js/issues/19426 

If you wish to know whether the code is running as part of a client-side page transition, in either `getInitialProps` or `getServerSideProps`, you can check to see if `context.req.url` starts with `/_next/data`.
2020-11-25 11:23:04 +00:00
..
getInitialProps.md Update getInitialProps.md (#19506) 2020-11-25 11:23:04 +00:00