Deeply embedded racism against Chinese immigrants in the early 20th century looks almost identical to today’s hatred of Mexican immigrants.