RevereCRE / relay-nextjs

⚡️ Relay integration for Next.js apps
https://reverecre.github.io/relay-nextjs/
MIT License
251 stars 30 forks source link

Allow user to use custom error boundry component #23

Closed monoppa closed 3 years ago

monoppa commented 3 years ago

I was wondering why our custom error page is not working for Relay related errors.

Our solution is to allow maintainers to add a new ErrorComponent option to withRelay but still defaults to the plain Error page when the option is not provided.