Skip to content

Instantly share code, notes, and snippets.

@Ibro
Last active January 11, 2018 20:10
Show Gist options
  • Save Ibro/a3607b74aac18e0528d7a56bcf9351ba to your computer and use it in GitHub Desktop.
Save Ibro/a3607b74aac18e0528d7a56bcf9351ba 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/
import React from 'react';
import './App.css';
const Home = () => <h1>Home</h1>;
const App = () => (
<div className="App">
<header className="App-header">
</header>
<p className="App-intro">
To get started, edit <code>src/App.js</code> and save to reload.
</p>
</div>
);
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment