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
Our company uses strange parameters food&min_price=10&max_price=2000
Ideally, it should follow the standard like
food?min_price=10&max_price=2000
however, this existing format could not be changed due to the legacy and used by a lot of customers. Any idea to make the routes working with this odd custom parameters? and let this route could be matched <Route path={food} element={FoodView}/>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How to use HashRouter to match custom parameters format below format?
> https://domain/user_id=123#app/products/food&min_price=10&max_price=2000
Our company uses strange parameters food&min_price=10&max_price=2000
Ideally, it should follow the standard like
food?min_price=10&max_price=2000
however, this existing format could not be changed due to the legacy and used by a lot of customers. Any idea to make the routes working with this odd custom parameters? and let this route could be matched <Route path={
food
} element={FoodView}/>Beta Was this translation helpful? Give feedback.
All reactions