0

I see the "this.props.router.push" function in React Router v2. How can I use this function in React Router V4?

For example:

setFilter(query) {
  this.props.router.push({ pathname: this.props.location.pathname, query });
}
sirisakc
  • 892
  • 2
  • 15
  • 30

0 Answers0