The two situations are not parallel.......and I think you know that.
They are not.
Under both circumstances cheap labor is/was being imported at a rate that can't/couldn't accommodated cultural assimilation. In both cases little attempt was/is being made to mainstream the immigrants beyond a primary "public" education. In both cases immigrants were/are being forced into cultural ghettos. In both cases these cultural ghettos are producing institutionalized public misbehavior and a mistrust of public authority.
There are numerous examples of these parallels. Hopefully the US will learn from France's experiences and adjust our public policies before we suffer the same fate.