Skip to content

Instantly share code, notes, and snippets.

Justin Braithwaite jbraithwaite

Block or report user

Report or block jbraithwaite

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jbraithwaite / ControlledRouter.js
Last active Oct 19, 2016 — forked from gaelduplessix/ControlledRouter.js
React Router v4 ControlledRouter
View ControlledRouter.js
// Code taken from:
// gaelduplessix/ControlledRouter.js
import React, { Component } from 'react'
import BrowserHistory from 'react-history/BrowserHistory'
import { Push } from 'react-history'
import { StaticRouter } from 'react-router'
class RouterWrapper extends Component {
You can’t perform that action at this time.