I am working on web application using React and bootstrap. When it comes to applying button onClick, it takes me hard time to let my page being redirect to another. if afte
Just do this
props.history.push('/link')
this.props.history.push('/link')
Example:
{props.history.push('/link')}} >Press
react-router-dom: 5.2.0,
react: 16.12.0