Robert Kaplan wrote a fantastic piece in 2005 on how we would fight China once they have developed a world-class military.
He doesn’t presume that war with China is inevitable, but rather that as China re-emerges as a world power, it’s a possibility with many triggers, and we must be prepared for it.
His writes that we will have to disperse our forces throughout the Pacific, so the Chinese will not be able to eliminate a single U.S. naval base and cripple our Pacific forces, like the Japanese sought to do with Pearl Harbor, and develop new strategies that either defend our central naval advantage, the aircraft carrier, or move more toward submarines as the central means of projecting power (both for their offensive capabilities and because they enable us to drop special forces on land stealthily).
If you have any interest in foreign policy, I absolutely recommend reading it.