I can\'t seem to find how to update query params with react-router without using . hashHistory.push(url) doesn\'t seem to register que
John's answer is correct. When I'm dealing with params I also need URLSearchParams interface:
this.props.history.push({
pathname: '/client',
search: "?" + new URLSearchParams({clientId: clientId}).toString()
})
You might also need to wrap your component with a withRouter HOC eg. export default withRouter(YourComponent);.