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
We just published version 6.25.0-pre.0 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
What version of React Router are you using?
6.23.0
Steps to Reproduce
You can try it here: https://stackblitz.com/edit/github-mfpcog-zdd21p?file=src%2FApp.tsx
Or use this code:
Expected Behavior
I would expect
useMatch
to decode params the same asuseParams
does.If I call this URL
/user/bücherwurm
of the example above, I would expect the following output:Actual Behavior
It looks like
useMatch
does no more decode the URL Params.The example above will output
If you use 6.22.0 it works as expected, params are decoded by
useMatch
The text was updated successfully, but these errors were encountered: