Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix(react): Add support for basename option of createBrowserRouter #8457

Merged
merged 2 commits into from
Jul 5, 2023

Conversation

onurtemizkan
Copy link
Collaborator

@onurtemizkan onurtemizkan commented Jul 5, 2023

Fixes: #8413

Passes basename option to matchRoutes we use to generate branches correctly, while updating pageload transactions and starting navigation transactions.

Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
@AbhiPrasad AbhiPrasad merged commit b48bc08 into develop Jul 5, 2023
40 checks passed
@AbhiPrasad AbhiPrasad deleted the onur/react-router-basename branch July 5, 2023 16:05
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.

If the basename option is used with React Router 6 transactions are not created for navigation events.
3 participants