Skip to content

Instantly share code, notes, and snippets.

Last active Sep 11, 2018
What would you like to do?
Example of our HashRouter is used in React. Great for static hosting services such as GitHub Pages.
<Route path="/" component={Home} />
<Route path="about" component={About} />
<Route path="teachers" component={Teachers} />
<Route path="courses" component={Courses} />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment