NOTE: I want to express this as a European who sees a lot of worrying signs here on the old continent.
When it comes to election I and many others have found that following trend lines is more accurate then just raw data. Historical trend lines as an example.
Looking at history and historical trend lines many people saw Trump's victory as inevitable as Brexit before as the Italian referendum and the potential victory of Marine Le Pen in France and also applying to Obama's victory.
In fact Obama's victory was a superb reaction to the economic crash, the foreign wars, the outsourcing etc. etc. He was a reaction to Bush's policies. Obama could have been the greatest president in decades, but his implementation was poor.
Then Obama failed to deliver, because instead of reversing the trends of outsourcing, foreign wars, deregulation, tax cuts and many other things he continued them. There was a reversal early on his presidency, pre-Arab Spring from interventionism and back to realism but after Libya he reversed back.
You can see this very well with Victoria Nuland, the top neocon in the State Department: https://en.wikipedia.org/wiki/Victoria_Nuland Look specifically at the periods she was appointed and then match those to bad periods of foreign policy under Bush and Obama, and also the good periods for both Bush and Obama ( very late on in Bush's presidency and early on in Obama's )
As for outsourcing: The countryside has been boiling over for quite a while now and has been trending the Republican way for while. It was expected based on those trends that Trump would win the countryside just like Brexit won due to former labor voters. The anger is that great and continuing down the same path as outsourcing in either Europe or the US will only in disaster for everyone.
Let me put it like this: If we don't see an immediate end to outsourcing, open borders and interventionism Europe will collapse: The Dutch are very angry, the Greeks, the Italians, the Spanish etc. This has to stop now and be reversed.
It's the same thing with the Great Depression: Massive regulation cuts, a temporary economic boom and then a crash. A reverse trend of protectionism, the New Deal and the creation of the Middle Class. Anyone who follows history and thinks like a historian would have seen all of this coming and people did: Michael Moore saw it coming because he looked at it from a historical perspective not a political science perspective.
Every action has a reaction. Going too far down any path will lead to ruin. It happened in the 1920s, it happened in 2008. Even if Trump and Brexit had failed NOW similar things would have occurred later in a much worse fashion.
Consider this: The conservative party decimated labor in the 2015 UK elections by winning working class voters: The party of Thatcher who destroyed their jobs won voters who CELEBRATED Thatcher's death. That was the reaction to a continued path of outsourcing from both parties.
Solution: A reverse of outsourcing, regardless of implementation, closing of borders, ending foreign wars etc. etc. is necessary. This must be approached in a balanced way and not go too far in a radical way. This is why Reagan was a great president but Reaganomics only lasted for so long. Nothing lasts forever, no trend is irreversible. The idea that Reagan's policies could continue forever was childish.
I leave this quote: Insanity: doing the same thing over and over again and expecting different results.
Theresa May is the perfect Prime Minister for the UK right now. She's Thatcher like but also reverse Thatcher on outsourcing.