-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(rr6): Move GuideStore url update to a react effect (#76690)
This removes the usage of very-early `browserHistory.listen`. We can shim the browserHistory.listen, but only once we've created a react router 6. In new react router 6 land we don't set the browserHistory until once the app starts. In react router 3 land it would be immediately available. To fix this we just call the `onURLChange` from the main App component.
- Loading branch information
1 parent
461f6c4
commit c099a85
Showing
2 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters