title: what is the difference between createStore and createStoreWithMiddleware in react?
body: <p>I found two ways to configure redux createStore ,</p>
  
  <p>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></p>
  
  <p>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>Which is preferable?</p>