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
jbraithwaite / ControlledRouter.js
Last active Oct 19, 2016 — forked from gaelduplessix/ControlledRouter.js
React Router v4 ControlledRouter
View ControlledRouter.js
// Code taken from:
// https://gist.github.com/gaelduplessix/050e5cce31f9fabb1030f4ba47663db5
// 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.