/** * Original Source code from https://reacttraining.com/react-router/web/example/basic */ import React from 'react'; import { HashRouter as Router, Route, Link } from 'react-router-dom'; import withTracker from './withTracker'; import Events from './Events'; function Topic({ match }) { return (

{match.params.topicId}

); } function Home() { return (

Home

); } function About() { return (

About

); } function Topics({ match }) { return (

Topics

Please select a topic.

} />
); } function BasicExample() { return (

); } export default BasicExample;