Skip to content

Instantly share code, notes, and snippets.

@vcapretz
Created January 21, 2020 12:58
Show Gist options
  • Save vcapretz/10ec2a0a75965d814937983425cee754 to your computer and use it in GitHub Desktop.
Save vcapretz/10ec2a0a75965d814937983425cee754 to your computer and use it in GitHub Desktop.
import { createStore, combineReducers } from 'redux'
import { authentication, todos } from './reducers'
const rootReducer = combineReducers({
authentication,
todos
})
const store = createStore(rootReducer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment