Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created January 13, 2018 14:28
Show Gist options
  • Save Ibro/eb623a4aab68f8a67bb2fae2cb6c9eae to your computer and use it in GitHub Desktop.
Save Ibro/eb623a4aab68f8a67bb2fae2cb6c9eae to your computer and use it in GitHub Desktop.
Using React Router v4 with create-react-app - https://codingblast.com/react-router-create-react-app/
const NavBar = () => (
<ul>
<li>
<Link to="/">Home</Link>
</li>
<li>
<Link to="/admin">Admin</Link>
</li>
</ul>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment