In the eyes of many Africans, US President Donald Trump's actions in the wake of the presidential election were ridiculous, but others have reacted with resentment or disbelief.

In countries that have witnessed recent elections accusations of fraud and acts of violence, some expressed concern about the signal received by their leaders after Trump declared victory prematurely and his speech not supported by evidence of fraud and the lawsuits he instituted.

"Trump is setting a bad example for Africa and for a country like ours," says Mori Keita, who trades in auto parts in Guinea. "You cannot declare yourself a winner in an election in which you are a candidate with justice."

Dozens of people were killed in Guinea in protests before and after the president won a third term last month.

"This is a shame," said Bashir Diallo, a mining company executive.

While the count data indicate that Democrat Joe Biden will win, some in Africa mock what is happening in a developed country, whose rulers have been criticizing African leaders for not respecting democratic norms.

And when the US Embassy in Ivory Coast called on Wednesday for dialogue and commitment to the rule of law in the wake of another contested presidential election, that sparked a tidal wave of reactions.

One citizen wrote on Twitter, "I think the response in the background is: Why don't you talk about yourselves?"

"What we see from Trump is not different from what we see in African politics. But it is appalling to see that happening in the United States," said Tito Kissia, a sales official in Tanzania, whose presidential election last week sparked criticism from US Secretary of State Mike Pompeo.

However, some observers of the US elections found some positive elements.

Viviane Aseki, a teacher in Ivory Coast - where more than 10 people have been killed in clashes since the president won a third term that his opponents consider unconstitutional - said the US elections "were quiet, free of violence ... This motivates you to participate."