Taiwan has said it is facing serious threat from China than what is visible.
It also said any attempt by China to change the status quo by force will have severe consequences for the world including on the supply of semiconductors.
PTI quoted Taiwanese Foreign Minister Jaushieh Joseph Wu saying that Taiwanese people are firmly determined to protect Taiwan's sovereignty and that their resolve has been further emboldened by the "incredible determination" displayed by the Ukrainians in the face of Russian aggression.
China has been maintaining that Taiwan is a breakaway province that must be reunified with the mainland, and if necessary by force. China has been regularly sending fighter jets into Taiwan's air defence zone and deploying warships close to the self-governed island.
The Taiwanese foreign minister said the time has come for all democratic countries to find ways to deal with China's expansionist agenda and its military muscle flexing, especially in the maritime domain.
"I am not sure whether the Chinese have been seeing the Ukrainian war the way other countries are seeing it. Russia, with one of the largest militaries in the world, is having difficulties in its invasion of Ukraine," Wu said.
"Many people anticipated that the war would end in a week or two. But it dragged on for more than one year already and that is a good lesson for China," he said.
Wu said the Chinese leadership must understand the "difficulties of launching a war" against Taiwan and that China does not have any guarantee to win.
"If they understand, they should refrain from using military threats against Taiwan..One thing we keep reminding the world that any war, especially in this part of the world, might impact upon the rest of the world," he said.
The Taiwanese foreign minister cautioned that any military hostilities by China against Taiwan will have a serious impact on the global supply chain, especially on semiconductors.
India and countries across the world depend heavily on the semiconductors produced in Taiwan. Wu said Taiwan supplies 90 per cent of the advanced chips required across the globe.
"Any war that China wants to use against Taiwan is going to have a serious global impact because of that. We are glad to see that major international leaders are cautioning China not to change the status quo, especially by force," he said.