The first time I got passed by someone riding an electric ... depending on front vs. rear, wheel size and accessories.
Several manufacturers offer kits to add pedal assistance to a non-electric bike ... or failure of the bike. A particular ...
There aren’t kits available for every bike geometry, though, so if you want an electric BMX ... when compared to a hub drive, where the motor is installed in the rear wheel.