const defaultState = {
  reduxCount: 1
};

export default function(state = defaultState, action) {
  switch (action.type) {
    case 'COUNTER_INCREMENT':
      return {
        ...state,
        reduxCount: (state.reduxCount += action.value)
      };

    default:
      return state;
  }
}

const defaultState = {
  reduxCount: 1
};

export default function(state = defaultState, action) {
  switch (action.type) {
    case 'COUNTER_INCREMENT':
      return {
        ...state,
        reduxCount: state.reduxCount + action.value
      };

    default:
      return state;
  }
}

Fix another bug in Redux counter implementation
Fix another bug in Redux counter implementation
