I have create basic React Application where i have created one component in this. When pattern matches component get loads.
<HashRouter>
<Route path='/:id1/:id2' component={withRouter(component_name)}/></HashRouter>
When i run application Url looks : http://localhost:4000/#/1/2
Now in my Component i am able to read parameters by this.props.match.params.id1. After reading params from url i want to hide it from url should look like this. http://localhost:4000/#/
Could someone help me out this your valuable answers.
Thanks in advance.