The state that one-sidedly 'threw away' the baggage of communism was the USSR, and we all know how that went. Any China scholar could tell you that China was already implementing market reforms before Deng, and that their controlled transition, managed by a strong party-state, is the grounds for their success. China is still a country operated on the basis of five-year plans. China is still a country governed by a Communist party adhering to democratic centralism. China is still a country where the state owns all land. China is still a country where capital is not allowed to usurp the public interest. And the judge of that is not any logical syllogism of 'definitions' of capitalism or socialism that exist in your head but do not premise the actual world. It is outcomes, observations of material reality. In this, the reforms of Deng and the continued path of Xi are simply the highest synthesis of communism, in the Chinese context. They are the most faithful to Marxism, which has never preached any kind of static dogma, especially as it relates to economic policy.