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
If you JSON.stringify, you'll see the string you get is " _somecode". The plus is converted into a space character by the browser. If you need that in your URL, you need to URL encode it.
What version of React Router are you using?
6.10.0
Steps to Reproduce
I have created a code sandbox: https://codesandbox.io/s/wispy-water-mps7ly?file=/src/App.js
Use this link to test: https://mps7ly.csb.app/?code=+_somecode
Expected Behavior
"+_somecode"
Actual Behavior
"_somecode"
The text was updated successfully, but these errors were encountered: