I believe a big misperception about China attacking Taiwan is that this will be driven by external considerations more than internal considerations. IMO economic and political turmoil in China is the biggest threat to peace and stability in the region. Right now, China is less likely to risk a major conflict with the US, which could also result in conflict with Japan, Australia, South Korea and India among others, so long as the CCP can maintain the belief among the Chinese people that China is on the rise and it will deliver on its promises for broad prosperity.
The problem is that China's economy is a house of cards. Evergrande is just the tip of the iceberg and one would be wise to ask why Xi is testing an economic shakeup involving various industries in pursuit of a "common prosperity" that China was supposedly well on the way to delivering already with its existing model that has produced the miracle growth of the past decades.