Quiz 5
Test your knowledge on reducers.
We'll cover the following...
Q
Does the following code that is used to combineReducers function properly?
const combineReducers = (reducersMap) => {
  return (state = {}, action) => {
    const newState = {};
    Object.entries(reducersMap).forEach(([subStateName, subReducer]) => {
      newState[subStateName] = subReducer(state[subStateName], action);
    });
    return newState;
  };
};
A)
Yes
B)
No
Q2. Implement the undoable function that ...
 Ask