title: Uncaught TypeError: (0 , _store.configureStore) is not a function
body: <p>store.js</p>
  
  <pre><code>import {createStore, applyMiddleware} from 'redux';
  import createLogger from 'redux-logger';
  import rootReducer from './reducers/index';
  
  const logger = createLogger();
  
  const createStoreWithMiddleware = applyMiddleware(logger)(createStore);
  
  export default function configureStore(initialState) {
    return createStoreWithMiddleware(rootReducer, initialState);
  }
  </code></pre>
  
  <p>index.js</p>
  
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import TrackList from './components/TrackList';
  import {configureStore} from './store';
  import * as actions from './actions';
  
  const tracks = [
    {
      id: 1,
      title: 'Title 1'
    },
    {
      id: 2,
      title: 'Title 2'
    }
  ];
  
  const store = configureStore();
  store.dispatch(actions.setTracks(tracks));
  
  ReactDOM.render(
    &lt;TrackList /&gt;,
    document.getElementById('app')
  );
  </code></pre>
  
  <p>Folder src consist index.js and store.js</p>
  
  <p>Show message Uncaught TypeError: (0 , _store.configureStore) is not a function when F12</p>
  
  <p>Help me thanks </p>