Questions about front-end and back-end routing

  node.js, question

I have been looking at these things a little dizzy recently. We usually use node and express to cooperate with each other. There is a route inside. Then why do we need react-router? ? ? ? What is the difference between their functions? Please let me know if you know. Thank you! ! !

Back-end routing means that the browser refreshes the page. Obviously, many webapp do not want such an experience in terms of requirements. If the network speed is slow, maybe the screen will be completely white and there will be new content.

There would be no such problem with front-end routing. Control at will, logic can also be placed at the front end. The front end is becoming more and more complicated, and one’s own way is indispensable.