How Come

How come we allow China to import a large percentage of our manufactured goods, and let Chinese nationals purchase U.S. real estate, after having fought against communism so many decades during the cold war?