Last Updated on April 11, 2022 by Pupli
function Home() { return ( <> <main> <h2>Welcome to the homepage!</h2> <p>You can do this, I believe in you.</p> </main> <nav> <Link to="/about">About</Link> </nav> </> ); }
References
https://reactrouter.com/docs/en/v6/getting-started/installation#create-react-app