Doesn't account for redirects.
See original GitHub issueUsing the library, I noticed this doesn’t account for any redirects.
For example I’m on /
and goto /profile
but I get redirected to /profile/hosting
.
I have a back button that does goBack()
which goes back to /
but I’d like the link to reflect that which only reflects /profile
.
If I wasn’t clear the flow should be:
/
-> /profile
redirect to /profile/hosting
-> /
not
/
-> /profile
redirect to /profile/hosting
-> /profile
for the to
prop.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Redirection after login doesn't work - WordPress.org
Enter username and password for the just created user. It never redirects me to that HOME page but I keep landing on the...
Read more >browser settings do not allow redirecting to a new URL
Method 2: Enable the Meta Refresh option in Security settings. a. Open Internet Explorer-> Click Tools.
Read more >How to Fix The ERR_TOO_MANY_REDIRECTS Error - Kinsta
Too many redirects occurred trying to open “domain.com.” This might occur if you open a page that is redirected to open another page...
Read more >Solving Redirection Issues Using Rank Math SEO Plugin
To solve this problem, open the redirects and see if you could find any redirects that have the same source and destination URLs....
Read more >The Ultimate Guide to Redirects: URL Redirections Explained
Redirects send users & search engines from one URL to another. Find out how to use each type here.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @andrewfluck , Good point, many thanks for reporting the issue! I’ll look into it.
@hinok thank you, thank you!