Your views remind us why CCP is so successful. Its because they are dispassionate, pragmatic, long term thinking and extremely intelligent set of people who have risen through the ranks competing against millions. And because CCP has those qualities, it will never do foolish actions like these.
China's biggest challenge is not the US, but its own internal problems. Only very few Chinese have university level education, still 500 million people live in villages, huge percentage of people still live in poverty. Even with all this problems they have to import billions in raw materials. They are technologically backward in high tech fields.
US can throw its weight around because it has zero internal problems compared to the level of problems China has. China has to stay humble and focus on development because thats the most efficient way for them to gain rejuvenation.
US and the west provide a huge market for Chinese products which China will never give up on its own. If US keeps sanctioning China to oblivion, China will still continue to buy US high tech products to enhance its own economy and sell US its own products. China will give up its dignity in order to develop.
Time for China to take revenge will come someday for sure. But not until it is as rich as Europe and Japan. So it needs to go from 12K GDP per capita to 45K GDP per capita. By the time it gets there, it will also solve its other problems like education, infrastructure, urbanization, tech level and so on.
If it can squeeze even an ounce of US money and tech while doing it, it will take it. Its a bonus. China will not sanction US.