Why? We've offered an alternative to austerity and have refused to pander to racism, writes Diane Abbott.

Not only is Corbyn leaping ahead in the polls and encouraging a mass exodus of members into the party, he’s also bucking the trend in Europe where voters are moving away from social democratic parties.

The mood at this year’s Labour conference was decidedly euphoric. Pleasure at our unexpectedly good general election performance was enhanced by the fact that so many people (including some Labour MPs) predicted that Jeremy Corbyn would lead Labour to electoral disaster.

Instead, the opposite was the case. Corbyn’s politics saved Labour from the electoral disasters that befell our sister parties in this year’s elections.

The chart below shows the respective votes for the traditional parties of the left in Europe in 2017 general elections.

In the Netherlands, in France and in Germany the social democratic parties of the traditional left received a drubbing. Labour under Corbyn got more than all their votes combined.

The French and Dutch parties both received just 6 per cent of the total votes cast. The SPD in Germany did better but gained only a little over 20 per cent – its worst showing in the post-World War II era.

The striking fact is that under Labour Jeremy Corbyn received more votes than these parties combined, 12.9 million votes compared to their combined total of 12.4 million votes.

The leadership of the Dutch, French and German left parties is not anti-austerity, unlike the Corbyn leadership of the Labour Party. They do not support the economic alternative of investment-led growth and were content to implement austerity measures.

In addition, where there has been scapegoating of minorities, migrants, black people and Muslims for the crisis, the European social democrats often did not resist and sometimes participated in it.

This is clearly wrong in principle. But for those even now telling us we must shift rightwards to win, there is a deadly riposte.

This rightwards leap on racism and immigration, which would have shamed left leaders of earlier generations, was wholly counter-productive even in electoral terms for the European parties.

It boosted the arguments of the right and their vote rose as a result. The left vote slumped. It didn’t gain ground. Hopefully, there will be some painful rethinking in Labour’s sister parties. Harsh lessons need to be learnt.

For our part, Labour needs to build on its stunning advance at this year’s general election. Lots of work needs to be done to prepare for the next election and prepare for government.

But we have laid strong foundations. It is widely recognised that Labour’s manifesto was a great success. Labour is a party in favour of prosperity through investment, not poverty via austerity. It is also a party of equality and no conceding to racism. We will build on these successes.

Diane Abbott is the Shadow Home Secretary and Labour MP for Hackney North and Stoke Newington. She tweets here.

As you’re here, we have something to ask you. What we do here to deliver real news is more important than ever. But there’s a problem: we need readers like you to chip in to help us survive. We deliver progressive, independent media, that challenges the right’s hateful rhetoric. Together we can find the stories that get lost.

We’re not bankrolled by billionaire donors, but rely on readers chipping in whatever they can afford to protect our independence. What we do isn’t free, and we run on a shoestring. Can you help by chipping in as little as £1 a week to help us survive? Whatever you can donate, we’re so grateful - and we will ensure your money goes as far as possible to deliver hard-hitting news.