Mid-drives have a lot of improvements over older hub motor technology, but they have their own unique issues. There’s a reason hub motors have been around so long – they work.
The main advantages of mid-drive include lower weight and better gear usage, which makes them more appropriate for off-road use and those with hilly terrain to traverse.
Hub-motors, on the other hand, are fairly bulletproof and low maintenance, and thus are usually better for commuters and those that want a simple, reliable e-bike with very little maintenance.
However, many off roaders like the power and reliability of hub motors, and many commuters prefer lightweight, stealthy and unobtrusive mid-drive motors. It really depends on which features fit you best.