China views Taiwan as a breakaway province and has threatened to attack the island if it pushes for formal statehood .