China had the unfortunate luck of being left in ruins when it becoming "Communist". Deng rebooted the whole thing, it remains to be seen whether they will continue communism into the future. To call it "capitalism" is a bit rich (no pun), given all major industries are owned by the government (the people).
The 50s they also brought health care to vast majority of the population. The 60s they increased literacy across the country by simplifying the language, and standardising education.
Should we both just keep cherry picking information to paint our own narrative, or admit this isn't a black and white subject?