My issue is when I try to use "Link" in my Nav.js, I get an Error of
[
The first error that may occurs will come from your Home function component:-
App.js:- edit your const Home to this (it should be wrap in return):-const Home = () => {
return (
<div>
<h1>Homepage</h1>
</div>
)
}
Other than that everything will works just fine tho. Anyhow, you can see it here on this sandbox to compare it with your current code.
react, react-dom and router-router-dom not up to date. Try see the version that you have now and get it up to the latest oneuse <BrowserRouter> in Nav component
<div className="App"><Router></Router></div>inside yourdivinApp.js