Skip to content

feat(tanstackstart-react): Enable component tracking - #21149

Merged
nicohrubec merged 5 commits into
developfrom
feat/tanstack-start-component-annotation
May 26, 2026
Merged

feat(tanstackstart-react): Enable component tracking#21149
nicohrubec merged 5 commits into
developfrom
feat/tanstack-start-component-annotation

Conversation

@nicohrubec

@nicohrubec nicohrubec commented May 24, 2026

Copy link
Copy Markdown
Member

Passes the reactComponentAnnotation option through to sentryVitePlugin, adding data-sentry-component and data-sentry-source-file attributes to React components at build time for better component names in Session Replay and breadcrumbs.

Had a look at a replay in Sentry with this enabled and disabled and seems to do it's job.

Not annotated
Screenshot 2026-05-24 at 11 16 41

Annotated
Screenshot 2026-05-24 at 11 16 23

Fixes #18288

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable Component Tracking

2 participants