In react router v5, I know the way to add optional route param in route path,
<Route path="/type/:typeId?" />
But is there a way to show optional search param(?search=test&page=1) in route path?
In react router v5, I know the way to add optional route param in route path,
<Route path="/type/:typeId?" />
But is there a way to show optional search param(?search=test&page=1) in route path?