createStoreWithMiddlewareis an old way to create a store with enhancers on Redux. The Redux version 3.1.0 introduced a new approach, and now createStoregets an enhancer, such as applyMiddleware(), as the last optional argument.
createStore , , , .