The energy transition presents Africa with an opportunity to leapfrog to cleaner technologies, avoiding the pitfalls of carbon-intensive development seen in other regions.