title: Redux configure store's createStore method
body: <p>I found two ways to configure redux createStore ,<br>
  1.<a href="https://github.com/TeamWithBR/SampleProjectTodo/blob/master/src/store/configureStore.js" rel="noreferrer">https://github.com/TeamWithBR/SampleProjectTodo/blob/master/src/store/configureStore.js</a>
  2.<a href="https://github.com/aknorw/piHome/blob/9f01bc4807a8dfe2a75926589508285bff8b1ea6/app/configureStore.js" rel="noreferrer">https://github.com/aknorw/piHome/blob/9f01bc4807a8dfe2a75926589508285bff8b1ea6/app/configureStore.js</a>  </p>
  
  <p>And I try it , both can work  </p>
  
  <p><strong>test1</strong></p>
  
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import { Provider } from 'react-redux';
  import { createStore, applyMiddleware } from 'redux';
  import { Router, browserHistory } from 'react-router';
  import reduxThunk from 'redux-thunk';
  import routes from './routes';
  import App from './components/app';
  import reducers from './reducers';
  
  
  const createStoreWithMiddleware = applyMiddleware(reduxThunk)(createStore);
  
  ReactDOM.render( 
      &lt;Provider store={createStoreWithMiddleware(reducers)}&gt;
        &lt;Router history={browserHistory} routes={routes} /&gt;
      &lt;/Provider&gt;, document.querySelector('#app'));
  </code></pre>
  
  <p><strong>test2</strong></p>
  
  <pre><code>const createStoreWithMiddlewareTest = createStore(reducers, applyMiddleware(reduxThunk));
  
  ReactDOM.render(
    &lt;Provider store={createStoreWithMiddlewareTest}&gt;
      &lt;Router history={browserHistory} routes={routes} /&gt;
    &lt;/Provider&gt; , document.querySelector('#app'));
  </code></pre>
  
  <p>But I don't know what's the difference between them?? 
  Please guide me  </p>