Except the economy was NOT doing well in 2012. The one guy, Litchman, whose “foolproof” predictor failed in 2012, was largely based on this.
Moreover, no economy has seen Trump-—someone willing to buck all trends FOR the US. Even Coolidge and Reagan agreed to legislation that hurt the US economy.
At the risk of sounding Clintonian, it depends on the definition of the word "well."
Certainly, most breathing, rational humans recognize that the US' economic performance under Obama's Presidency vis-à-vis other post-recessionary situations was horrible:
Further, along other dimensions, life under Obama was pretty bad around the 2012 election:
Nonetheless (and please, don't take this as me applauding Obama), the economy and the stock market were growing vs contracting, unemployment was declining vs rising in 2012. Add having the media and entertainment industries in his pocket, and you get a re-election. However, as you pointed out, Obama won ONLY by about 350,000 votes.
Fast-forward to today...you are absolutely correct. The Trump Economic Train is unlike anything we've seen, people of all walks of life are doing better, and I don't think he'll lose re-election though we cannot take our foot off the gas: Deplorabilism must continue to grow in size and stature.