“Among those under 30 who initially identified as Republicans or leaned Republican in December 2015, 23% shifted to the Democratic Party,” Pew reported this week. The average switch rate for other groups was just above 10 percent. Not surprisingly, many of the people who stopped identifying as Republicans also held negative views about Trump.

These millenials are the flip side of Trump’s success in attracting white working-class voters who’d previously stayed home or voted Democratic. He has done so in part by aligning the Republican Party more closely with white nationalism, which played a role in his huge victory margins in older, less metropolitan America.

Yet it also seems to have further turned off young voters, including some who previously identified as Republican. Younger voters already leaned left. They’re notably more diverse, more liberal on many social issues and more optimistic about the country’s future than many Trump voters.

Who knows whether the recent shifts will stick. But they do present a real risk for the Republican Party. Research has shown that generations tend to adopt political habits that last a lifetime. The cliché that the young are liberal and the old are conservative is mostly untrue. Liberal or conservative, the young often retain their ideology as they age.

Right now, the Republican Party is Donald Trump’s party, and fewer than one in three adults under the age of 30 approve of him.