Donald Trump is using unrest in France to criticize immigration and the Democrats, making it part of his campaign message ahead of the November 3 US midterm elections.