rootReducer = (state, action) => {
  if (
    action.type === ADD_TO_CART &&
    state.products.byId[action.productId].inventory <= 0
  )
    return state;

  return shoppingCart(state, action);
}
Returns the combined reducer.
@param state
@param action