The Taiwanese are vastly better prepared than the Ukrainians ever could be. They know which beaches the PLA would have to assault. All are trapped and mined and have underground gas pipes. Taiwan is dug in very thoroughly.
And Taiwan is more important to the United States than is Ukraine.