Answer the question
In order to leave comments, you need to log in
Why does push in React change Url?
<p onClick={() => this.props.history.push('/')}>клик</p>
Answer the question
In order to leave comments, you need to log in
Why does this command change the url?If you do not use react-router , then look here
What field of the history object is my slash pushed to?—
state
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question