GOP dominated suburbs for a long time and being above average income, fairly white and generally turned off by Chicago politics which Democrats dominated made it solid GOP. Change recently happened for two reasons.
1. Much more diverse as growing Hispanic and Asian community so its only around 75% white, not over 90% like past.
2. Republicans there more old school style, not your modern populist/social conservative types so modern GOP is a bad fit for county. Someone like John Kasich could probably win or at least come close there whereas Trump is a horrible fit for county.
Kasich would lose by at least 8 points there. lol rest of GOP is dead on arrival there.
And no, just because DeSantis won won Miami Dade and Palm Beach in November does not mean he will do significantly better in DuPage than Trump.