Don't drink the kool aid. Immigration reform has been talked about for 30 years, but Congress has been too gridlocked to do anything about it. Trump is forcing the issue, granted, but that's not what the shutdown is about. Shutdowns are built in by the budget and appropriations process written in 1976 and the Anti-Deficiency Act of 1982. Congress could prevent them by adjusting these laws and rules, if they were capable of passing gas without a continuing resolution. The Democrats would have found something else if not the wall to trigger a shutdown because shutdowns are associated with Republicans, and a shutdown increases the Dems' political capital.
The Republicans could have sidestepped the wall debate by passing the El Chapo Act when they had full control of Congress. It would have provided more than enough funding through the use of El Chapo's seized assets, but the bill died in session. The fact that they didn't suggests that they are too splintered to achieve much of anything (likely), or possibly that they preferred to fight for power through the wall debate rather than healthcare or some other issue.