Good read on the matter:

https://www.unz.com/article/ny-14-winner-ocasio-cortez-no-fluke-the-democratic-party-is-tipping/

excerpt:

While warnings of brewing demographic trouble were being ignored by the establishment right, they received a better reception on the left. In 2004, Ruy Teixeira and John Judis wrote a book called The Emerging Democratic Majority that triumphantly predicted that demographic change would soon produce a “new progressive era.” The theory’s predictive powers waxed and waned over the years, but after Trump’s 2016 election Teixeira and another coauthor, Peter Leyden, insisted that Democrats would soon sweep away an increasingly irrelevant GOP and forcibly impose their will, much as had already happened in California.

These arguments have a glaring weakness, however. They assumed that Democrats would continue to draw the same level of support from white voters. Instead, many have been fleeing to the GOP.