Not any military confrontation.
You're welcome to put a large wager with a bookmaker on that if war breaks out, but I wouldn't bank on it. If China invades and successfully occupies Taiwan, that significantly changes the military balance of power in the region. That makes things difficult for Japan, South Korea and ASEAN members like the Philippines. The US will be put in a difficult spot for sure, but it won't just automatically decide to sit it out, not least because it would be signalling to the world that China was now the dominant global power and that Washington would never defy Beijing again.
You'd need the US to have the equivalent of Jeremy Cobryn as President (a man who efffectively hates his own country and thinks that all the foreign policy decisions since 1945 were pure evil) to be sure of non-intervention.
Taipei does something stupid like declare independence, start a nuclear weapons program, they're on their own. It's been that was since Bush the Younger, as it should be.
Taiwan is already de-facto independent, so it doesn't need to declare independence. In fact, enough political statements have been made in the last 20+ years that China could easily say was a declaration of independence. If a military confrontation starts, it's likely to be because China has decided that political unification is now impossible.
As for a nuclear weapons programme, if Taiwan started that it would probably be because the US had already sold it out to Beijing.