-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
feat(ui): Stabilize page titles, remove layout props #101379
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
base: master
Are you sure you want to change the base?
Conversation
when OrganizationLayout rerenders it was causing the document title to reset to "Sentry" sometimes overwriting the better title that was already rendered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great find, will be glad to have the page titles working correctly again
Looks like routeNotFound
uses children
though
component: errorHandler(OrganizationLayout), | ||
children: [ | ||
{ | ||
path: '*', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you actually need the path key here?
children: [ | ||
{ | ||
path: '*', | ||
component: errorHandler(RouteNotFound), | ||
}, | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
children: [ | |
{ | |
path: '*', | |
component: errorHandler(RouteNotFound), | |
}, | |
], | |
children: [{component: errorHandler(RouteNotFound)}], |
When OrganizationLayout rerenders it was causing the document title to reset to "Sentry" sometimes overwriting the more accurate page title that was already rendered. Remove all rerendering by removing deprecated router props and moving global analytics into its own component