The suspect, identified in local reports as 39-year-old Kevin T., allegedly opened fire on people in Trappes and neighbouring La Verrière on Friday, using a Second World War era British Sten submachine gun.

A 26-year-old man died in the attack, while a 12-year-old girl who reportedly suffered 10 gunshot wounds was among the injured. The shooting reportedly lasted between 15 and 20 minutes as the gunman drove around in a Renault Clio.

According to details of the suspect's initial police interview reported by 'Le Monde', he claimed he was retaliating against the looting and vandalism of shops and small businesses during demonstrations on October 17. He allegedly admitted selecting victims based on their skin colour.

The suspect was arrested by traffic police. Reports said he boasted of having avenged shopkeepers, statements that helped prompt the involvement of France's National Anti-Terrorism Prosecutor's Office (PNAT).

Investigators have opened an inquiry into suspected murder and attempted murder linked to a terrorist enterprise, with an alleged racial, ethnic, national or religious motive.

The investigation took a further turn when anti-terrorism officers searching the suspect's home reportedly discovered booby traps involving fuses connected to gas canisters. Bomb disposal experts were called in to make the property safe.

Officers also reportedly found Second World War memorabilia and a copy of Adolf Hitler's 'Mein Kampf', the Nazi leader's ideological manifesto.

French President Emmanuel Macron, who visited Trappes on Friday evening, condemned the apparent racial motive behind the attack.

The shooting comes amid tensions over protests and reports of widespread looting and damage to businesses. Reports cited more than 2,000 shops and small businesses being ransacked and over 2,500 people arrested following the October 17 unrest.

Further demonstrations were expected across France on Saturday, amid concerns about renewed rioting and arson.

The investigation is continuing.