I will also be the first time, in a direct war, that the US homeland is directly in danger. If the US invades or bombs mainland China it might be game over, the consequences could be enormous.
Like Joshua said: "The only winning move is not to play".
Since WW2 the US has been at war (oh sorry "military conflict" / "police action") nearly constantly in one form or another.
In all cases they have fought an enemy that was completely inferior.
In Afghanistan, the US used B1 bombers, Drones, Cruise missiles, attack helicopters, an F35, Warthogs and whatever else they used.
Against an enemy that primarily had AK47, some bazookas and various equipment they stole from the allies.
China is inferior to the US in a military sense, but far less so than the other countries they have fought since WW2.
China may be able to take out an aircraft carrier with supersonic missiles (maybe not), may be able to fight the F35 (less so the F22).
The other major problem for the US is that Taiwan is 200km off mainland China. China can bring nearly an unlimited supply chain going.
The US is far away and transporting equipment, soldiers, military hardware etc will be expensive, slow and prone to Chinese submarine attacks.
If China reunites Taiwan by force, it will not take long, and there is is really nothing the world can do, that is sane, except yell, scream, sanctions and so on.
Nobody wants to find out what that war would look like.