História do roteador de reagir parâmetro Push

this.props.history.push({
  pathname: '/template',
  search: '?query=abc',
  state: { detail: response.data }
})
Dangerous Deer