A war against Taiwan would be hugely costly in terms of sanctions. That would hardly unite the country.
In fact, you can imagine a blockade of Taiwan being introduced to enforce Chinese sanctions that are levied in direct response to American sanctions etc. that could well be the escalation path that china chooses
The threatened trump tariffs are bad but nearly as bad as what’s being done to Russia For example