Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Link to getInitialProps on Custom App page #29567

Merged
merged 1 commit into from Oct 2, 2021

Conversation

TyMick
Copy link
Contributor

@TyMick TyMick commented Oct 2, 2021

getInitialProps is already being referenced on the Custom App page, since it's the only supported data-fetching method for custom App components, but folks who started using Next.js after the advent of getStaticProps and getServerSideProps may not be familiar with the getInitialProps API.

Documentation / Examples

  • Make sure the linting passes

`getInitialProps` is already being referenced on the [Custom `App`][1]
page, since it's the only supported data-fetching method for custom
`App` components, but folks who started using Next.js after the advent
of `getStaticProps` and `getServerSideProps` may not be familiar with
the `getInitialProps` API.

[1]: https://nextjs.org/docs/advanced-features/custom-app
Copy link
Member

@leerob leerob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kodiakhq kodiakhq bot merged commit 667ddad into vercel:canary Oct 2, 2021
@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants