getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
8.02k stars 1.59k forks source link

[v9] Fix React Error Boundary typing for `componentStack` #14310

Open AbhiPrasad opened 2 weeks ago

AbhiPrasad commented 2 weeks ago

Description

https://github.com/getsentry/sentry-javascript/blob/5b773779693cb52c9173c67c42cf2a9e48e927cb/packages/react/src/errorboundary.tsx#L101-L102

kunal-511 commented 2 weeks ago

@AbhiPrasad I have raised PR for this issue. Please have a look: https://github.com/getsentry/sentry-javascript/pull/14327

andreiborza commented 1 week ago

hey @kunal-511 thanks for contributing this. We'll take a look.

AbhiPrasad commented 3 days ago

This can only be merged in once v9 is being actively worked on.