This has been a great deal for the western citizen, who have been exchanging tons of currency for cheap goods(thanks to the low exchange rate), especially US citizens who have had their government's borrowing costs financed by the very money sent over there to buy things with. Not so great of a deal for the average Chinese, in comparison to what they might have had as a more westernized country.
Edit: Let's not even talk about the demographic collapse happening as a result of the one child policy. It will make any demographic problems in the west look like child's play.
US lower and middle class benefited from cheap goods, and suffered from continued automation and imports. However, the US produces more goods now than at any point in it's history so you can't really blame things on a lack of manufacturing.
IMO, I would blame 5 primary factors, massive undocumented population suppressing wages, developed economy making growth harder, tax policy's that harm workers directly and indirectly, unions shrinking, and rapid automation continuously disrupting the economy.
I would say the US and communist party members got a great deal and the Chinese population is better off though still being stepped on.