For a basic Redux store simply add:
const store = createStore(
reducer, /* preloadedState, */
+ window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
);
Note that preloadedState argument is optional in Redux's createStore.
For universal ("isomorphic") apps, prefix it with typeof window !== 'undefined' &&.