Skip to content

Instantly share code, notes, and snippets.

@brunow-smn
brunow-smn / App.js
Created November 13, 2017 20:53 — forked from fdidron/App.js
React Router v4 Auth
//Usage
import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import Route from './AuthRoute';
import Login from './Login';
import Private from './Private';
export default () =>
<Router>