// Redux
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import createLogger from 'redux-logger';
import Immutable from 'immutable';
import rootReducer from '../reducers';

const __DEV__ = process.env.NODE_ENV === 'production' ? false : true;
const finalCreateStore = compose(
	applyMiddleware(thunk),
    applyMiddleware(createLogger({
        // Only logs in development mode
        predicate: () => __DEV__,
        // Transform Immutable object to plain json for better debuggin experience
        transformer: (state) => {
            var newState = {};
            for (var i of Object.keys(state)) {
                if (Immutable.Iterable.isIterable(state[i])) {
                    newState[i] = state[i].toJS();
                } else {
                    newState[i] = state[i];
                }
            };
            return newState;
        }
    }))
)(createStore);

export default function configureStore(initialState) {
	const store = finalCreateStore(rootReducer, initialState);

	if (module.hot) {
        // Enable Webpack hot module replacement for reducers
        module.hot.accept('../reducers', () => {
            const nextRootReducer = require('../reducers');
            store.replaceReducer(nextRootReducer);
        });
    }

    return store;
};

@@ -98,16 +98,19 @@
 thunk';%0A
+// 
 import c
@@ -142,16 +142,19 @@
 ogger';%0A
+// 
 import I
@@ -220,16 +220,19 @@
 cers';%0A%0A
+// 
 const __
@@ -355,16 +355,61 @@
 nk),%0A   
+ window.devToolsExtension %7C%7C (f =%3E f),%0A    //
  applyMi
@@ -431,24 +431,27 @@
 Logger(%7B%0A   
+ //
      // Only
@@ -475,24 +475,27 @@
 ent mode%0A   
+ //
      predica
@@ -512,24 +512,27 @@
 __DEV__,%0A   
+ //
      // Tran
@@ -598,24 +598,27 @@
 perience%0A   
+ //
      transfo
@@ -631,32 +631,35 @@
 (state) =%3E %7B%0A   
+ //
          var new
@@ -669,24 +669,27 @@
 te = %7B%7D;%0A   
+ //
          for
@@ -716,32 +716,35 @@
 ys(state)) %7B%0A   
+ //
              if 
@@ -786,24 +786,27 @@
 e%5Bi%5D)) %7B%0A   
+ //
             
@@ -840,24 +840,27 @@
 .toJS();%0A   
+ //
             
@@ -868,24 +868,27 @@
 %7D else %7B%0A   
+ //
             
@@ -915,24 +915,27 @@
 tate%5Bi%5D;%0A   
+ //
             
@@ -936,24 +936,27 @@
        %7D%0A   
+ //
          %7D;%0A
@@ -954,24 +954,27 @@
       %7D;%0A   
+ //
          ret
@@ -986,24 +986,27 @@
 ewState;%0A   
+ //
      %7D%0A    %7D
@@ -1003,16 +1003,19 @@
    %7D%0A   
+ //
  %7D))%0A)(c

Change redux dev tool to redux dev tool extension