score:4

Accepted answer
return {
  ...state,
  items: [
    ...state.items,
    action.payload,
  ],
};

score:1

case FETCH_POSTS:
  return state.items.push(...action.payload)

Related Query

More Query from same tag