title: Warning: [history] pushState is deprecated; use push instead
body: <p>when using a  webpack + react + react-router + es6</p>
  
  <p><strong>Warning: [history] pushState is deprecated; use push instead</strong></p>
  
  <pre><code>&lt;pre&gt;
  import React from 'react';
  import ReactDOM from 'react-dom';
  import {createHistory} from 'history';
  import App from './component/app';
  import About from './component/about';
  import Concat from './component/concat';
  import List from './component/list';
  import {Router, Route} from 'react-router';
  const history = createHistory();
  const router = (
      &lt;Router history={history}&gt;
          &lt;Route path="/" component={App}&gt;
              &lt;Route path="about" component={About} /&gt;
              &lt;Route path="concat" component={Concat} /&gt;
              &lt;Route path="list/:id" component={List} /&gt;
              &lt;Route path="*" component={About}/&gt;
          &lt;/Route&gt;
      &lt;/Router&gt;
  );
  
  ReactDOM.render(
      router,
      document.getElementById('root')
  );
  &lt;/pre&gt;
  </code></pre>