-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed maximum update depth exceeded caused by Redirect. (#6674)
* Redirect: Failing test for rendering in functional component * Properly check if location matches in <Redirect/> Fixes #6673 * Redirect: Handle all eventualities of to strings. * Redirect: Add update depth test with 'to' as location * Redirect: Simplify and rename tests. * Redirect: work around locationsAreEquals quirk.
- Loading branch information
1 parent
f9849c8
commit 017f692
Showing
2 changed files
with
36 additions
and
2 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