I have a React.js project with a simple sign in function. After the user is authorized, I call history.push method which changes the link in the address bar but does not ren
You need to apply withRouter to use this.props.history.push('/page') in every component that use "push"
import { withRouter } from 'react-router-dom'; ..... export default withRouter(MoneyExchange);
this is important when using push.