So the DACA program, which mainstream pundits all seem to revere, was such a compelling idea that Obama could not get congress to pass it.  So he bypassed congress and put it in place with an executive order.  What was lost while the Democrats patted themselves on the back for doing an end run around the Republican controlled Congress was that executive orders are just as easy to rescind as they are to create.  So Trump gets elected on an anti-immigration platform and the somehow the pundits are aghast that he would rescind this executive order.

Lesson for the Democrats.  Live by the executive order, die by the executive order.  If Obama wanted a lasting legacy, he should have made the necessary deals with Congress to put real legislation in place.