history.push
While navigating you can pass props to the history object:
history
this.props.history.push({ pathname: '/template', search: '?name=sudheer', state: { detail: response.data } })
The search property is used to pass query params in push() method.
search
push()