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

Commit

Permalink
Import only the module actually used from history.js to reduce client…
Browse files Browse the repository at this point in the history
… bundle size.
  • Loading branch information
Jimmy Lindh committed Oct 4, 2016
1 parent ac463be commit 41cff8b
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 41cff8b

Please sign in to comment.