I am getting started with react, and I have encountered the problem of routing control in react, and my thinking is limited to angular
In angularjs, the application url is index.html#/xxx/xxx. We use $routeParams.xxx to get the parameters in the url. According to different parameters, go to the database to get the corresponding information
So in react, how do we set parameters in the url, and how do we get the parameters in the url?
Remember that React is just the View layer, while Angular is a complete Framework!
The specific solution can be directly using react-router
React-router
this.props.query.xxx