import { createStore } from 'redux';
import Shogi from '../reducers';

let store = createStore(Shogi);

// debug
store.subscribe(
  () => console.log(store.getState())
);

export default store;

import { createStore, compose } from 'redux';
import DevTools from '../components/dev_tools';
import Shogi from '../reducers';

let enhancer = compose(
  DevTools.instrument()
);

let store = createStore(Shogi, undefined, enhancer);

// debug
store.subscribe(
  () => console.log(store.getState())
);

export default store;

Enhance store for using redux-devtools
Enhance store for using redux-devtools
