Component Composition - 401-advanced-javascript-Mai/amman-javascript-401d1 GitHub Wiki
Using react-router: *toggle the visibility of components (or even pages) based on the URL/Route that the user engages with.
import { Route } from 'react-router-dom';
TO Use Browser Router properly: built-in component.
<Link to="/">Home</Link>
<Link to="/stuff">Stuff</Link>