You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently don't explicitly mention you can't use getStaticProps or getServerSideProps with _app.js or _document.js in the docs. These proposals are still in RFC.
We should add a note to both the app and document section of the docs to mention this.
…ocument (#17839)
Fixes#17828.
This change adds a caveat to both the "Custom `App`" and "Custom `Document`" pages about how both `getStaticProps` and `getServerSideProps` aren't supported.
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 29, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature request
Describe the solution you'd like
We currently don't explicitly mention you can't use
getStaticProps
orgetServerSideProps
with_app.js
or_document.js
in the docs. These proposals are still in RFC.We should add a note to both the app and document section of the docs to mention this.
Additional context
https://nextjs.org/docs/advanced-features/custom-app
The text was updated successfully, but these errors were encountered: