RevereCRE / relay-nextjs

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

Passing error to ErrorComponent #48

Closed gio-work closed 2 years ago

gio-work commented 2 years ago

Specifically for custom ErrorComponent, any reason not to pass the error as a prop here: https://github.com/RevereCRE/relay-nextjs/blob/main/src/wired/error_boundry.tsx#L27

If not, happy to make a PR to do so πŸ€™πŸ»

rrdelaney commented 2 years ago

No reason we don’t, would happily accept that PR πŸ˜„

rrdelaney commented 2 years ago

Fixed by #49 and released in v0.8.0