Skip to content

Instantly share code, notes, and snippets.

@pavsidhu
Last active January 29, 2017 11:40
Show Gist options
  • Save pavsidhu/4363e7696238994fa049946320fd498b to your computer and use it in GitHub Desktop.
Save pavsidhu/4363e7696238994fa049946320fd498b to your computer and use it in GitHub Desktop.
Redux store example
import reducer from './reducer'
// This connects the reducer to the store
export default function configureStore() {
let store = createStore(
reducer
)
return store
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment