-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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: add info about fallback to prerender-error #22828
Conversation
errors/prerender-error.md
Outdated
@@ -9,3 +9,4 @@ While prerendering a page an error occurred. This can occur for many reasons fro | |||
- Make sure to move any non-pages out of the `pages` folder | |||
- Check for any code that assumes a prop is available even when it might not be. e.g., have default data for all dynamic pages' props. | |||
- Check for any out of date modules that you might be relying on | |||
- Make sure your component handles `fallback` if it is enabled in `getStaticPaths` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have a link to the relevant documentation for fallback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timneutkens added link to fallback docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I'm not sure why 6 reviews are required here 🤔 |
The base branch was changed.
@leerob this PR was opened against the wrong branch (not canary) hence why it does not allow merging. I've updated the base branch. |
No description provided.