Skip to content

Conversation

@ale-cota
Copy link
Contributor

Since setting up React Router is key for getting parameterised transaction names, adding this suggestion to the next steps when the Performance product is selected.

@vercel
Copy link

vercel bot commented Jun 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs 🛑 Canceled (Inspect) Jun 13, 2023 0:43am

@ale-cota ale-cota requested review from a team, Lms24, priscilawebdev and smeubank and removed request for a team June 13, 2023 11:20
Copy link
Member

@priscilawebdev priscilawebdev left a comment

Choose a reason for hiding this comment

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

left a suggestion but it looks good to me

@smeubank
Copy link
Contributor

How much work would it be to add a toggle which says with or without react router? can be off by default

stretch: link to doc "How to detect if your app uses react-router"

@ale-cota
Copy link
Contributor Author

ale-cota commented Jun 13, 2023

How much work would it be to add a toggle which says with or without react router? can be off by default

@smeubank What should this control? Would it slap the setup instructions on the page directly? I see they're also version dependent, so I think it requires a better design approach. I'd leave just the link in "Next Steps" for now because it's already an improvement to the existing and will create a separate ticket to investigate how we could introduce the instructions too.

@smeubank
Copy link
Contributor

What should this control?
you are totally right next steps is good first win

2nd: the argument would be to just add it to the snippet with a comment that says your can remove or check other version in docs

the extra mile
The toggle (or really radial because it can't be more than one selected at once) would allow you turn on react router and select a version

@ale-cota ale-cota merged commit 5ac1481 into master Jun 14, 2023
@ale-cota ale-cota deleted the ale-cota-patch-1 branch June 14, 2023 08:26
marandaneto pushed a commit that referenced this pull request Jun 14, 2023
Add React Router Info to:
*src/wizard/javascript/react/index.md
* src/wizard/javascript/react/with-error-monitoring-performance-and-replay.md
* src/wizard/javascript/react/with-error-monitoring-and-performance.md
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants