My prelim analysis.

Obviously, the polls were very wrong. But why?

From what I can tell, Trump get a much larger percentage of the Republican woman vote than expected, and (likely) slightly higher than Romney in 2012. Misogyny at least among this group didn’t tarnish him at all.

And he got a larger percentage of the Latino vote than Romney. Not surprising — legal immigrants often absolutely loathe illegal ones.

My private supposition: enough Bernie voters moved to Trump to also tip the balance.

The narrative will be just that rural enraged white males made the difference. But I’m guessing that the above factors I mentioned are the real difference.