Last active
September 11, 2018 06:59
-
-
Save duaneleem/3a5a62abc62db156b88a1617380e9704 to your computer and use it in GitHub Desktop.
Example of our HashRouter is used in React. Great for static hosting services such as GitHub Pages.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HashRouter> | |
<div> | |
<Route path="/" component={Home} /> | |
<Route path="about" component={About} /> | |
<Route path="teachers" component={Teachers} /> | |
<Route path="courses" component={Courses} /> | |
</div> | |
</HashRouter> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment