Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// …
import {
} from 'react-router-dom'
import Home from './components/Home';
import About from './components/About';
import Messages from './components/Messages';
class App extends Component {
render() {
return (
<div className="App">
<div className="menu">
<div className="App-intro">
<Route path="/" component={Home}/>
<Route path="/messages" component={Messages}/>
<Route path="/about" component={About}/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.