Conversation
Co-authored-by: Steven <steven@ceriously.com>
Co-authored-by: Steven <steven@ceriously.com>
|
@styfle, I've updated the doc as per your suggestions and commits. Please have a look 🙏 I'm also moving this PR from Draft to PR mode |
|
I was about to open an issue about using As reported here bvaughn/react-error-boundary#100 by someone else, the Next.js error overlay takes precedence and always shows up even when an error is thrown. I just tried with your proposed In my case I'm rendering content that comes from a dynamic source (headless CMS) and I'd like to add some extra safety if some of the data is missing or incomplete. Error boundaries would've allowed me to handle this in an elegant way. |
This PR adds a new Error Handling section and addresses questions around the React Error Boundaries and error pages in a Next.js app from the issue: https://github.com/vercel/documentation/issues/106
Bug
fixes #numbercontributing.mdFeature
fixes #numbercontributing.mdDocumentation / Examples
yarn lint