If the US were to engage in Ukraine, Taiwan would be up for pickings. I believe it would be a mistake. The US doesn't have the dynamism it once had, it's population in large part isn't fit for combat, or resilient to casualties, and is preoccupied with internal striffe. Defense budgets are high but what a US DoD buys with 1$ is a lot less than what China buys with the same value, since US defense industry is bloated and burning through budgets. All this to say, the US can't sustain two flanks against two strong foes, it needs to pick its focus and China is the real strategic opponent.
I hope this international environment will wake up the US public and industry, and that this will all end better. I also hope that Germany will stop using so much gas and being a pawn to Russia, and that the EU will take care if their defense more, as the US isn't in a position to do like it did during the Cold War.
Now, if Taiwan were to apply for NATO membership, I would expect the Chinese response to be much more swift than Russia's.