The current Beijing authorities make bombastic claims as silly as “Taiwan has been part of China since the dawn of the universe!!” The reality, however, is quite different.
Some Chinese dynasties may not have even known of Taiwan’s existence, while others definitely knew, and stayed away. Taiwan was an island filled with “savage” native people, and a great place to die from malaria.
After the forces of Koxinga’s grandson, Zheng Keshuang
鄭克塽, were defeated by Admiral Shi Lang 施琅 in 1683, Qing dynasty China didn't jump at the chance to make the island “a part of China.”
In fact, the great emperor Kangxi 康熙帝 initially thought it best to evacuate Chinese back to China, and leave Taiwan alone. Kangxi went as far as comparing Taiwan to a “skin rash,” saying it will require a lot of “scratching” once they got it.
In the end, Shi Lang convinced the Emperor and Taiwan was absorbed into the Qing dynasty. But only parts of Taiwan.
Links, info, book recommendations, and more at formosafiles.com