adding multiple reducer to rootreducer using combine reducers 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
});