How to run another reducer before all other reducers combineReducer code example
Example: adding multiple reducer to rootreducer using combine reducers
import { combineReducers } from 'redux';
import { registerReducer } from './registerReducer';
import { loginReducer } from './loginReducer';
export default combineReducers({
registerReducer,
loginReducer
});