For all their talk of Taiwan, seeing what is happening in Ukraine might give them pause. Both for how effectively the (similarly equipped to their own) Russian Army is being chewed up by light arms. And by the realization that all of a sudden the Siberian Oil fields seem like a softer target than Taiwan.
Taiwan was always going to be a harder target for China than Ukraine is for Russia just because of the nature of amphibious warfare, even assuming they could get a decent number of troops ashore if your using what we're seeing now as an example of how an invasion would go it looks grim.
Taiwan is a small country but not so small that it wouldn't be massive undertaking to secure. Most of the population, including the capital, is concentrated in the north of the island but there are several cities of comparable size to Kiev spanning the western coast all the way to the southern end, a distance greater than Russian forces have managed to advance on any front in Ukraine so far. So any strategy to take the island would mean landing whatever meager forces can be transported the 100 miles across the strait directly into major metro areas or the small easily flanked margins between them on the western coast and hope they don't get ground to dust shortly after they land, and/or taking the long way round and landing somewhere on the eastern coast and trying to establish a beachhead there before anyone can react with something more than a piecemeal response.
That second option was never a good one considering the logistical challenges but I think its been effectively killed now judging by how easily we were able to spot this invasion coming. It may only take a few hours to cross the strait but there's no way they would be able to pull that off without the US, Taiwan along with every ally in the region seeing the potential weeks if not months beforehand and preparing for it. The waters of the eastern coast and any landing sites not adjacent to populated areas can be lit up with impunity in addition to being quickly mined beforehand if we're ready for it.
They would have to go with the more direct approach and hope for the best, we'd obviously still see that coming way beforehand but its not like Taiwan can evacuate their largest cities or flatten them once enemy troops are inside.
Attempting it would require a
much heaver use of force like air ordinance and standoff weapons than we've seen so far in Ukraine to soften up Taiwanese defenses and troops would be dumped directly into urban combat, they wouldn't have the luxury of scratching their asses for weeks on the outskirts in preparation or hoping for a surrender like the Russians are doing now. There would be no easy way out either, they'd have to fully commit from the start and take an enormous risk.