access a parameter passed in history.push react code example
Example: react router history push parameter
this.props.history.push({
pathname: '/template',
search: '?query=abc',
state: { detail: response.data }
})
this.props.history.push({
pathname: '/template',
search: '?query=abc',
state: { detail: response.data }
})