There are many reasons why people voted to leave but the journalism covering this seemed to only be able to cover the sensationalist parts of the debate in the most childish fashion. This needed a serious discussion amongst adults, with a lot of thought and we didn't get it.
So if it wasn't some racist backlash to immigration, then what was it? While I can't speak for all, here is a piece that explains many of the issues that people actually have with Europe, delivered in the serious manner that I wish more of the debate had been.
http://www.conservativehome.com/platform/2016/02/david-davis...