Skip to content

Instantly share code, notes, and snippets.

@tfiechowski
Created October 29, 2018 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tfiechowski/7319463dc93de91acca5c4b9545d1a06 to your computer and use it in GitHub Desktop.
Save tfiechowski/7319463dc93de91acca5c4b9545d1a06 to your computer and use it in GitHub Desktop.
import { combineReducers, createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import photos from './modules/Photos/reducer';
const rootReducer = combineReducers({ photos });
export default createStore(rootReducer, applyMiddleware(thunk));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment