14 lines
382 B
JavaScript
14 lines
382 B
JavaScript
import { combineReducers } from 'redux';
|
|
import { authentication } from './auth.reducer';
|
|
|
|
/*
|
|
* We combine all reducers into a single object before updated data is dispatched (sent) to store
|
|
* Your entire applications state (store) is just whatever gets returned from all your reducers
|
|
* */
|
|
|
|
const allReducers = combineReducers({
|
|
authentication
|
|
});
|
|
|
|
export default allReducers;
|