score:2

Accepted answer
return {...state, users:[...state.users, {id:4, name: "foo"}]};

score:0

export default function(state = initialState, action) { 
    switch (action.type) {
        case GET_USERS:
            return Object.assign({}, state);
        default:
            return state;
    }
}

Related Query

More Query from same tag