The Democrats to do the same. This was the year Democrats came up with yet another brilliant strategy to win over "moderate" Republicans by pivoting hard right on immigration, abandoning any talk of "building the wall is racist" in favor of "Trump doesn't actually want to build the wall, we're the ones who will actually do it." Naturally, it didn't do shit to win over anti-immigrant people who still saw them as weak on immigration compared to the Republicans, but it was quite effective at alienating immigrants and pro-immigration people.
Turns out, there's a decent number of Hispanics with conservative inclinations who are willing to overlook them and vote Democrat, so long as they believe the Republicans are racist against them. Since the Democrats decided that criticizing anti-immigrant policies as racist was too alienating to racists, those conservative Hispanics lost the one reason they were willing to vote Democrat and voted based on culture war bullshit instead.