African countries must avoid the mistakes of the fossil-fuel industrial revolution; the mining of cobalt, lithium, manganese, nickel and copper must be based on equity, human rights and local development