Skip to content

feat(react-router): Add component annotation plugin #16472

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Jun 5, 2025

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Jun 3, 2025

Adds the possibility to add React component annotations in RR.

closes #16471

@s1gr1d s1gr1d requested a review from chargome June 3, 2025 14:46
Copy link
Member

@chargome chargome left a comment

Choose a reason for hiding this comment

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

🚀

@@ -125,6 +125,25 @@ export type SentryReactRouterBuildOptions = {
*/
debug?: boolean;

/**
* Options related to react component name annotations.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* Options related to react component name annotations.
* Options related to react component name annotation.

Copy link
Member Author

Choose a reason for hiding this comment

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

I copied that from the Next.js options. I'm gonna keep it the same and won't change that :)

@s1gr1d s1gr1d merged commit 497b76e into develop Jun 5, 2025
35 checks passed
@s1gr1d s1gr1d deleted the sig/rr-component-annotation branch June 5, 2025 08:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reactComponentAnnotation not working in react-router framework project
2 participants