Skip to content

Conversation

@AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Aug 2, 2022

Make use of React 17+ Native Component Stack errors and attach them to errors being captured by Sentry. This should provide a more useful stacktrace when trying to debug these issues.

https://reactjs.org/blog/2020/08/10/react-v17-rc.html#native-component-stacks

ref: getsentry/sentry-javascript#5504
ref: #37262
ref: getsentry/sentry-javascript#4005

Make use of React 17+ Native Component Stack errors and attach them to
errors being captured by Sentry. This should provide a more useful
stacktrace when trying to debug these issues.
@AbhiPrasad AbhiPrasad requested review from billyvg and scttcper August 2, 2022 18:39
@AbhiPrasad AbhiPrasad requested a review from a team as a code owner August 2, 2022 18:39
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 2, 2022
Copy link
Member

@scttcper scttcper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh neat

@AbhiPrasad AbhiPrasad merged commit c2261ad into master Aug 3, 2022
@AbhiPrasad AbhiPrasad deleted the abhi-errorboundary-cause branch August 3, 2022 13:29
@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants