I share your outrage at the fact this racist, misogynist pig will now be POTUS. I canvassed for Clinton; I was totally, 100% behind her. But I also don't think we can just get rid of racism and nationalism by extension. That is a slow process that requires re-education over generations, and in the meantime I think there are common ideas both Trump voters and Sanders voters share: anti-establishment, anti-elite, pro-working-poor. We should harness the anger and vitriol of the Trump coalition for our own ends.
I don't think the targets of racism had any illusions that racism wasn't still alive and well in America before the election. I think the people who thought like that were people like me: white liberals.