Fareed Zakaria says China is:
Almost every country in the Western world entered the crisis ill prepared. Governments were spending too much money and running high deficits, so when they had to spend massively to stabilize the economy, deficits zoomed into the stratosphere...China entered the crisis in an entirely different position. It was running a budget surplus and had been raising interest rates to tamp down excessive growth. Its banks had been reining in consumer spending and excessive credit. So when the crisis hit, the Chinese government could adopt textbook policies to jump-start growth. It could lower interest rates, raise government spending, ease up on credit, and encourage consumers to start spending. Having been disciplined during the fat years, Beijing could now ease up during the lean ones.
More on the American and Chinese relationship in the latest Economist.