Skip to content

fix(react): Update React Router v4/v5 to make paramaterization more clear#5471

Merged
AbhiPrasad merged 3 commits intomasterfrom
abhi-param-react-router-v4-v5
Aug 31, 2022
Merged

fix(react): Update React Router v4/v5 to make paramaterization more clear#5471
AbhiPrasad merged 3 commits intomasterfrom
abhi-param-react-router-v4-v5

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Contributor

@AbhiPrasad AbhiPrasad commented Aug 31, 2022

To make sure we prevent possible mis-configurations with the React Router v4/v5 integration, this PR updates our docs around it. We first move the usage of withSentryRouting higher up, and encourage it as the default approach to use for paramaterization. We then move down the route config option below that, and offer it as a way for users to define paths outside of the usage of withSentryRouting.

@AbhiPrasad AbhiPrasad requested a review from imatwawana August 31, 2022 14:31
@vercel
Copy link
Copy Markdown

vercel bot commented Aug 31, 2022

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

Name Status Preview Updated
sentry-docs ✅ Ready (Inspect) Visit Preview Aug 31, 2022 at 7:08PM (UTC)

Copy link
Copy Markdown
Contributor

@imatwawana imatwawana left a comment

Choose a reason for hiding this comment

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

Made some wording edits, but otherwise looks good!

AbhiPrasad and others added 2 commits August 31, 2022 14:47
…ns/react-router.mdx

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
@AbhiPrasad AbhiPrasad enabled auto-merge (squash) August 31, 2022 18:51
@AbhiPrasad AbhiPrasad merged commit e7ea659 into master Aug 31, 2022
@AbhiPrasad AbhiPrasad deleted the abhi-param-react-router-v4-v5 branch August 31, 2022 18:51
@github-actions github-actions bot locked and limited conversation to collaborators Sep 16, 2022
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.

3 participants