I asked Robert Sampson, a sociologist at Harvard, about the link between Trump’s roots in Queens and his policies as president. Sampson replied by email: “My immediate reaction is that it was no accident that ‘All in the Family’ was set in Queens,” Sampson wrote, just as Steve Bannon used to say about his former boss, “Dude, he is Archie Bunker.”

Sampson pointed out the connection between Trump’s roots in Queens and the themes he has stressed as a candidate and as president:

The explosion of immigration and the racial change in the makeup of Queens might have left an especially deep imprint, because his constant references to making America great again evoke an earlier time that was considerably less diverse. Indeed, building walls and stemming the tide of such change seems to be at the heart of Trump’s appeals to a remembered national past, and in this case, of his childhood.

Sampson cited the

strong link research has found between perceptions of disorder and the presence of immigrants and minorities — independent of actual disorder and crime — provides another clue, one that applies to neighborhoods and arguably up to the level of societies.

Jennifer Richeson, a psychologist at Yale, emailed me about her perception that “shifting demographics of one’s town can certainly engender more negative intergroup attitudes and perception.”

In a forthcoming paper summarizing research on the effect of growing diversity on white attitudes, “The Pitfalls and Promise of Increasing Racial Diversity,” Richeson, Maureen A. Craig, and Julian M. Rucker, psychologists at N.Y.U. and Yale, write:

Whites for whom the changing national diversity is salient express (a) more support for conservative policies, including those relevant to race; (b) less support for diversity; (c) more racial resentment and support for the Tea Party; and (d) more support for Donald Trump and anti-immigrant policies.

Trump has long since departed Queens, along with more than 900,000 other whites, many of whom became recruits for his presidential campaign. His administration is in many respects an attempt to restore the Queens of his early childhood.

Anthony Scaramucci, a friend of the president’s who served 10 days as the White House communications director, grasped Trump’s outer borough appeal to many voters. In a recent interview with Ed Luce of The Financial Times, Scaramucci argued that Trump understood that “America’s ‘aspirational’ working class had become ‘desperational’.”

During the campaign, Scaramucci recounted, Trump “would say to us: ‘That tweet’s not for you. You’re probably offended by it. I don’t care. That tweet is for the guy in the flyover states, at the steel plant. If I lose some of the effete Republican elite, what difference does it make?’ ”

Luce reports the story of Trump telling foreign investors that his casinos would be flooded by “white trash.” What did he mean by “white trash,” the investors asked.

Trump replied: “They’re people just like me, only they’re poor.”

Trump is nothing if not consistent in his appeal to this constituency.