Photo/Illutration A colored mannequin wears Chinese cheongsam at a shop on Feb. 26, 2022, in Beijing. (AP Photo)

BEIJING--China’s factory output rebounded in May, adding to a recovery from the latest COVID-induced economic slump after controls that shut down Shanghai and other industrial centers eased.

Industrial production rose 0.7 percent over a year earlier, recovering from April’s 2.9 percent contraction, government data showed. Consumer spending edged up compared with April but was lower than a year ago.

The data suggest a “lockdown recovery got underway across most parts of the economy,” said Sheana Yue of Capital Economics in a report.

China’s case numbers in its latest wave of infections are low, but the ruling Communist Party’s “zero-COVID” strategy that aims to isolate every person with the virus shut down most businesses in Shanghai starting in late March and suspended access or imposed other restrictions on other industrial cities. That fueled fears global manufacturing and trade might be disrupted.

Most factories, shops and other businesses in Shanghai, Beijing and other cities have been allowed to reopen but are expected to need weeks or months to return to normal activity.

Economists have cut forecasts of China’s growth this year to as low as 2 percent, well below the ruling Communist Party’s target of 5.5 percent. Some expect activity to shrink in the quarter ending in June before a gradual recovery begins.

Consumer spending, depressed by jitters over the economic outlook and possible job losses, rose 0.05 percent in May compared with the previous month but was off 6.7 percent from a year ago. Investment in factories, real estate and other fixed assets rose 0.7 percent compared with April.

Chinese leaders have promised tax rebates, free rent and other aid to help businesses recover.

“Following all this weak data, we should expect the government to respond with more fiscal stimulus,” said Iris Pang of ING in a report.

Export growth, reported last week, accelerated to 16.9 percent in May from the previous month’s 3.7 percent. Import growth rose to 4.1 percent from April’s 0.7 percent.