Deeply embed­ded racism against Chi­nese immi­grants in the ear­ly 20th cen­tu­ry looks almost iden­ti­cal to today’s hatred of Mex­i­can immigrants.