[Bug]: Regression of useResolvedPath
in 6.19.0 and <Link to>
in 6.20.0
#11053
Labels
useResolvedPath
in 6.19.0 and <Link to>
in 6.20.0
#11053
What version of React Router are you using?
6.20.0
Steps to Reproduce
Consider the 3 following sandboxes.
The code is exactly the same, only the react-router-dom version is changed:
Steps to reproduce (in each sandbox):
Expected Behavior
The expected behavior is the one exhibited by version 6.18.0:
"/tabs/3"
Actual Behavior
In version 6.19.0:
"/tabs/3"
✅️In version 6.20.0:
"/tabs/2/3"
instead of"/tabs/3"
❌️Additional info:
We noticed that there has been some changes in 6.19.0 and 6.20.0 regarding the way splat routes are handled, but to my eyes, none of them explain this change in behaviour.
Can you please help us figure out if this is indeed a regression, or if we are doing something wrong in the way we implemented our tabs system?
Thanks.
The text was updated successfully, but these errors were encountered: