If China were a democractic country, it won't think of invading Taiwan.
It just shows that a communist country can't tolerate democracy. So the nearest democractic country (Taiwan) to China will be the first target for the Communist China.
Fundamentally, communism and democracy are enemies.