There is no question that China is losing its export edge in low-grade industrial products. One of the reasons Western investors liked China was that a single country and a single set of relationships allowed them to develop production facilities that could supply them with products. All the other options aside from India, which has its own problems, can handle only a small fraction of China’s output. Indonesia, with nearly a quarter-billion people still in a low-wage state, can handle more.

The political risk has substantially declined in the last few years. If it continues to drop, Indonesia will become an attractive alternative to China at a time when Western companies are looking for alternatives. That would energize Indonesia’s economy and further stabilize the regime. A more stable Indonesian regime would remove any attraction for an alignment with China and any opportunities for Chinese or Islamist subversion — even if, in the latter case, prosperity is not enough to eliminate it.