Eww!
Don't be gross, Prince.
I know, I know. It's left me somewhat conflicted. But this Ukraine situation has, alas, pushed me into definitive strategic and moral opposition to the West.
Plus, we're due to have protests/riots here tomorrow, over fuel price increases that have come about as a result of the West's self-destructive sanctions on Russia. African leaders are in talks with Russia to build trade paths around Western sanctions for food and fuel, but until those deals have been finalised and Russia can ride to the rescue, you bright-sparks are starving my neighbours.
I have a lot of problems with China, but they're not currently starving my countrymen or our neighbours, they're better positioned to be helpful than are the Western powers, their goal is a multi-polar world, and they have leaders who have at least some semblance of an idea of what's going on Planet Earth. As a resident of Africa, a multi-polar world is a better fit for my national interests than the uni-polar world the West hasn't the capability to hold on to. All else being equal, I am, by default, on the side of whoever's promoting a multi-polar world.
More on topic, Taiwanese importance to the West has always been temporary, because it's based on transitory circumstances, but it's important to the Chinese for cultural and historical reasons, so their interest isn't going away. And China is far more important to the world at large and to the economies of the West than Taiwan is.
It would be incredibly stupid for the Western powers to directly intervene in a Chinese attempt on Taiwan. I don't think China will tempt such an intervention though, because reunification is inevitable without military force and the Chinese are probably very aware of how bad that fight would hurt if the West decided to commit to it. It's more likely that the West will desperately force a confrontation in an attempt to offset the inevitable, much like they did in Ukraine. And the West can maybe pull a Ukraine, and convince the Taiwanese to suicidally resist unification - no matter how badly that might go for their country - but sending Western forces against the Chinese might well end the world, whether or not nukes are tossed. So, one can only hope that Western leadership is wise enough to recognise that the technological advantages represented by Taiwain are transient and not actually so significant that they're worth ending the world over.
Far wiser to work out a mutually beneficial backroom deal with the Chinese soon enough that Taiwanese sentiment toward the Chinese is based on a realistic understanding of their strategically precarious position - that is, that the promise of Western cavalry riding over the horizon, in a region in which the West's influence in diminishing, is probably not a realistic expectation. And that, even if it does come, it won't alter the inevitable.
The Western powers are already handing their asses to themselves in their economic war with Russia (to the point that they're having to circumvent their own sanctions while the Russian currency outperforms everyone else's), and the impacts of that squabble are already far-reaching enough; I think we've already seen two governments so far that have been toppled in the wake of the ongoing crisis? Many others are under serious strain. Imagine what a confrontation with China would do.
Unless there are some serious changes in the quality of Western strategic decision-making, and a reversal to the downward trajectory of the West's strategic capability, it's tragically and terrifyingly laughable trying to imagine them taking China on. Even if you think America would win (and it would have to be America, because no other Western power is at all formidable), there's a good chance that it would be a pyrrhic victory that would leave the survivors with a world that might no longer even be modern enough to take full advantage of the high technology that the war will have been fought over.
The West's already in an economic war with the world's commodities super power, picking a fight with the world's manufacturing super power is not a good idea. No matter how valuable Taiwan might temporarily be.
Sanctioning China like they've tried sanctioning Russia would be about as devastating to the world as a medium-scale nuclear war. Scary shit.
What exists of the tech gap between China and the West is going to be closed. That's just going to happen. It might take decades, it might take years. But it's not going to be prevented unless someone starts WW3 and kicks the modern world out from under all of us.