Which is better for converting a bicycle to electric assist: front-wheel or rear-wheel drive?

In the trend of upgrading bicycles to electric-assist bikes, a common debate revolves around choosing between a front-wheel or rear-wheel…