Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
First history.push is not from React. It is from the browser API. Since react renders while state is changed, React Route just uses change in the inbuilt history API state to re render itself.
15th Jun 2020, 4:23 PM
Lingesan S
Lingesan S - avatar