I think taking those islands west of Taiwan made sense if there were no external adventurers and time was completely on China's side so that the battle tempo and scale were totally in the latter's dictate while the rest of the world simply looked on at a safe distance.
But the Russo-Ukraine war shows that western non-intervention is not going to happen, and China should anticipate foreign interference in the form of weapon aid, political and economic sanctions at the very onset. So a protracted war is not in China's favor, but a short and decisive one is.
Hence in my humble opinion, a total sea and air blockade to prevent weapons getting into Taiwan( made easier because it is an island, unlike Ukraine ), heavy bombardment of all political and military command nodes and air defense systems, followed by the quick occupation of the island within a few days to force America/west to accept the fait accompli.
no doubt, America/west will continue with all forms of sanctions on China for a while, but it will eventually concede defeat, throw in the towel and negotiate with China because those sanctions are a double-edged sword, hurting its own economy and livelihood too.
I believe that China is watching events unfolding in Ukraine closely, learning western tactics and making preparations accordingly.
President Xi can certainly gain some insights from President Putin's responses to the various maximum pressure tactics America and Europe heap on him.