how to pass data with 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 }
})