It's not clear to me that China is batting that well. I do not wish bad upon the Chinese citizenry, and China has done well in its own day since the 1960s.
But don't forget at the same time where China was during the end of the British power, nor Chinese revolutions, nor the state control over the Chinese populace.
Although the US vastly overweights what we think non-US-democracies would do (think Middle East and our meddling there) given the chance for US like freedom, I do not think we're seeing China in the natural so to speak. HK, for example, was not pleased with the "two systems one country" rule the CPP landed on.
Add in the fact that trade can no longer be assumed to be Chinese central, and China is slowly getting dragged into wars through Russia, and China still hasn't tried its mettle with Taiwan. A post invasion China will hit different. It's got internal issues of employment, real estate, have v. have nots ... it's got its hand full.
My guess is that China, like the US is seeing now on stretches, will be the master of its own demise. In the US a major contributing factor to Trump is the fact the US Congress has become an institutional zero especially since Gingrich. That power vacuum has been filled by the Executive branch under Trump. There's more to it of course, but this two-part crisis is an important matter to keep in mind.
China takes its state craft more seriously in some sense, but that seriousness may get it into trouble. And in fact, several articles in the Economist have argued that if China wants to keep 5%+ YOY GDP growth, the CCP will have to take a back seat which is the one thing it will not do. CCP political power is foremost; good economy is damn nice to have to when you can get it -- and the CCP will go after it hard -- but there are limits ...