If anything, this has made me doubt that Taiwan's eventual takeover will be via a hot war. The country is smaller, but its military is actually slightly larger than Ukraine's was, and they have better technology than the Ukrainians did. And the Chinese would need to cross 180km of water to get there. And the only point of taking over Taiwan is for what's already there -- the people, the technology. Shelling it would be counterproductive to say the least.
I would imagine some sort of interdiction/economic approach would be much more efficient for China. Or just wait until an amenable political group takes power on the island and reintegrate at that point.