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
path and location.pathname looks like /%D0%BF%D1%80%D0%B8%D0%BC%D0%B5%D1%80 and /пример and does not match. In Route I can use <Route path={decodeURIComponent(path)} component={Posts} />. But fir NavLink I need encoded path for correct HTML code (can't decode it), but NavLink get location.pathname (decoded) from history and I can't encode it. So, NavLink never get active state. Only one way is set custom function to isActive, but its very uncomfortable.
The text was updated successfully, but these errors were encountered:
Version
4.3.0
Steps to reproduce
Expected Behavior
Show Posts component.
Actual Behavior
Empty page.
Main problem
path and location.pathname looks like
/%D0%BF%D1%80%D0%B8%D0%BC%D0%B5%D1%80
and/пример
and does not match. In Route I can use<Route path={decodeURIComponent(path)} component={Posts} />
. But fir NavLink I need encoded path for correct HTML code (can't decode it), but NavLink get location.pathname (decoded) from history and I can't encode it. So, NavLink never get active state. Only one way is set custom function to isActive, but its very uncomfortable.The text was updated successfully, but these errors were encountered: