-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Labels
Description
What version of React Router are you using?
6.20
Steps to Reproduce
Because of useResolvedPath is broken, now I am unable to deal with navigate inside the wildcard '/path/to/*' route ...
eg:
// route path is "/base/*"
const to = useResolvedPath('path/to');
const handle = () => navigate(to);<Link to="path/to">path/to</Link>Expected Behavior
It will always navigate to /base/path/to before useResolvedPath is broken.
Actual Behavior
It will navigate /base/path/to/path/to/path/to/... depends on my current path both navigate and <Link>.
Reactions are currently unavailable