Dariusz Biela
Dariusz Biela
I started proposing this solution because I thought Sentry rarely marked elements with its own attributes. When I checked today, it turned out that these attributes are from a different...
I've added a patch to `React Native Web` that extends `forwardPropsList` with: ```patch + // Sentry props + dataSentryComponent: true, + dataSentryElement: true, + dataSentrySourceFile: true ``` and now adding...
Do you have any ideas on how we can improve the behavior regarding which attribute values are added to HTML?
> Is the issue that you want to control what components get the attribute value? Can you set custom one's yourself? I'd like Sentry to have an element handler for...
> Instead of using reactComponentAnnotation, could you set the data-sentry-component value yourself? Unfortunately, adding this attribute to all elements seems impossible. If I don't, I end up with the following...
> I think we can evaluate bumping the 80 char limit. We have this user configurable option, maxValueLength. https://docs.sentry.io/platforms/javascript/guides/react/configuration/options/#maxValueLength. We can just update the code to respect that instead of...
> What is the SDK version used here? We shipped a fix in [10.23.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.23.0) that should reduce the number of these elements considerably as we observed it on our own...