Closed
Description
Environment
@sentry/webpack-plugin 2.16.1
Steps to Reproduce
- Setup @sentry/webpack-plugin with reactComponentAnnotation enabled
- Install @react-three/fiber and use any of the components
Expected Result
It wouldn't be possible to annotate the @react-three/fiber components but it should at least not crash.
Actual Result
Crashes with the following error: Cannot read properties of undefined (reading 'sentry')
I imagine the reason why this happens is because of how @react-three/fiber works, where it turns JSX into THREE objects. reactComponentAnnotation is unusable in our project because of this issue so it'd be great if there was a way to fix this. At the very least, you might wanna add some kind of warning to your documentation.
Metadata
Metadata
Type
Projects
Status
No status