Why does react-router render previous component, when the path is added by the user in the browser tab?
I'm new to React, and I'm creating a personal project. I've created a couple of pages and everything is working fine, but if I type the URL inside the browser navigation tab, the router render the previous Component.
Imagine that you are in your.site , now changing the path from the browser tab with your.site/url or your.site/url/2 renders the component used for your.site and automatically changes the path to your.site
I think I'm missing something... any advice?