![Setting up routes in your React Application with react-router-dom — part 1/2 | by Alex Mendes | Medium Setting up routes in your React Application with react-router-dom — part 1/2 | by Alex Mendes | Medium](https://miro.medium.com/max/1400/1*Lyz_cAzVHBqPAdF5lfUxEQ.png)
Setting up routes in your React Application with react-router-dom — part 1/2 | by Alex Mendes | Medium
![Setting up routes in your React Application with react-router-dom — part 2/2 | by Alex Mendes | Medium Setting up routes in your React Application with react-router-dom — part 2/2 | by Alex Mendes | Medium](https://miro.medium.com/max/1200/1*iQq9k0efhM-_L71rZF3Ufg.png)
Setting up routes in your React Application with react-router-dom — part 2/2 | by Alex Mendes | Medium
![Setting up routes in your React Application with react-router-dom — part 2/2 | by Alex Mendes | Medium Setting up routes in your React Application with react-router-dom — part 2/2 | by Alex Mendes | Medium](https://miro.medium.com/max/1400/1*iQq9k0efhM-_L71rZF3Ufg.png)
Setting up routes in your React Application with react-router-dom — part 2/2 | by Alex Mendes | Medium
![javascript - Do something before and after route changes using react-router- dom v5 - Stack Overflow javascript - Do something before and after route changes using react-router- dom v5 - Stack Overflow](https://i.stack.imgur.com/1HP31.gif)