Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

Commit

Permalink
Merge pull request #33 from jimzezz/optimize-history-import
Browse files Browse the repository at this point in the history
Import only the module actually used from history.js
  • Loading branch information
dlmr authored Oct 7, 2016
2 parents ad1b441 + 41cff8b commit 04ed9c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';
import ReactDOM from 'react-dom';
import Router from 'react-router/lib/Router';
import useRouterHistory from 'react-router/lib/useRouterHistory';
import { createHistory } from 'history';
import createHistory from 'history/lib/createBrowserHistory';
import { supportsHistory } from 'history/lib/DOMUtils';
import debug from 'debug';
import { RedialContext } from 'react-router-redial';
Expand Down

0 comments on commit 04ed9c6

Please sign in to comment.