You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm, you cannot revalidate when there is a hash in the link, this happens because react-router will short-circuit and return early if the navigation goes to the same hash (same link with same hash should not trigger reload in Web, or re-validation in RR) but manual re-validation trigger should not take hashes into account. I think this is what causes this behavior
What version of React Router are you using?
6.11.2
Steps to Reproduce
https://codesandbox.io/s/bold-darkness-jnkngv
Click revalidate button multiple times.
Click link.
Click revalidate button multiple times again.
Expected Behavior
Loader for the current URL should be called regardless of the URL hash.
Actual Behavior
Loader doesn't get called if a url contains a hash.
The text was updated successfully, but these errors were encountered: