PHOTO: From Instagram
Now playing
00:36
Nike ad features Colin Kaepernick
People continue to eat in dining pods despite indoor dining opening back up on Valentine's Day on February 14, 2021 in the Brooklyn borough of New York City. (Photo by Michael Loccisano/Getty Images)
PHOTO: Michael Loccisano/Getty Images
People continue to eat in dining pods despite indoor dining opening back up on Valentine's Day on February 14, 2021 in the Brooklyn borough of New York City. (Photo by Michael Loccisano/Getty Images)
Now playing
03:07
US economy added 379,000 jobs in February
small business loans
small business loans
Now playing
02:45
Funding delays leave small businesses in limbo
Mandatory Credit: Photo by JUSTIN LANE/EPA-EFE/Shutterstock (11700603g)
Pedestrians walk past a closed store in New York, New York, USA, on 08 January 2021. The United States' Bureau of Labor Statistics released data today showing that the US economy lost 140,000 jobs in December and that the unemployment rate is at 6.7 percent as businesses continue to struggle with the economic impact of the coronavirus pandemic.
Coronavirus Economy Impact, New York, USA - 08 Jan 2021
PHOTO: Justin Lane/EPA-EFE/Shutterstock
Mandatory Credit: Photo by JUSTIN LANE/EPA-EFE/Shutterstock (11700603g) Pedestrians walk past a closed store in New York, New York, USA, on 08 January 2021. The United States' Bureau of Labor Statistics released data today showing that the US economy lost 140,000 jobs in December and that the unemployment rate is at 6.7 percent as businesses continue to struggle with the economic impact of the coronavirus pandemic. Coronavirus Economy Impact, New York, USA - 08 Jan 2021
Now playing
01:30
Another 745,000 Americans filed for first-time unemployment benefits
PHOTO: YouTube/Everyday Astronaut
Now playing
01:19
Watch SpaceX Mars prototype rocket nail landing, explode on pad
Now playing
02:55
Marriott CEO: We want travelers to feel safe
CHICAGO, ILLINOIS - JANUARY 15: Demonstrators participate in a  protest outside of McDonald's corporate headquarters on January 15, 2021 in Chicago, Illinois.  The protest was part of a nationwide effort calling for minimum wage to be raised to $15-per-hour. (Photo by Scott Olson/Getty Images)
PHOTO: Scott Olson/Getty Images
CHICAGO, ILLINOIS - JANUARY 15: Demonstrators participate in a protest outside of McDonald's corporate headquarters on January 15, 2021 in Chicago, Illinois. The protest was part of a nationwide effort calling for minimum wage to be raised to $15-per-hour. (Photo by Scott Olson/Getty Images)
Now playing
03:31
What a $15 minimum wage really looks like
PHOTO: MyHeritage
Now playing
01:01
Watch old photos come to life using AI
Now playing
01:19
Warren proposes wealth tax: 'It's time for them to pay a fair share'
Nigerian former Foreign and Finance Minister Ngozi Okonjo-Iweala smiles during a press conference on July 15, 2020, in Geneva, following her hearing before World Trade Organization 164 member states' representatives, as part of the application process to head the WTO as Director General. (Photo by Fabrice COFFRINI / AFP) (Photo by FABRICE COFFRINI/AFP via Getty Images)
PHOTO: FABRICE COFFRINI/AFP/Getty Images
Nigerian former Foreign and Finance Minister Ngozi Okonjo-Iweala smiles during a press conference on July 15, 2020, in Geneva, following her hearing before World Trade Organization 164 member states' representatives, as part of the application process to head the WTO as Director General. (Photo by Fabrice COFFRINI / AFP) (Photo by FABRICE COFFRINI/AFP via Getty Images)
Now playing
04:05
WTO Chief: We need equitable and affordable access to vaccines
Goya Foods President Robert Unanue speaks at a press conference with Carlos Vecchio, the Venezuelan Ambassador who is recognized by the United States on December 21, 2020 in Doral, Florida. The two held the press conference to discuss details of a recent shipment of humanitarian aid to Venezuela, donated by Goya Foods. (Photo by Joe Raedle/Getty Images)
PHOTO: Joe Raedle/Getty Images
Goya Foods President Robert Unanue speaks at a press conference with Carlos Vecchio, the Venezuelan Ambassador who is recognized by the United States on December 21, 2020 in Doral, Florida. The two held the press conference to discuss details of a recent shipment of humanitarian aid to Venezuela, donated by Goya Foods. (Photo by Joe Raedle/Getty Images)
Now playing
03:24
Goya CEO under fire for false Trump election claims
Now playing
01:23
'There should be no threats': Biden's message to union-busters
Now playing
01:36
Michael Bolton wants you to break up with Robinhood
Now playing
01:57
Fed chief downplays inflation concerns
Now playing
04:34
See what has happened to Trump's DC hotel after his loss
Now playing
01:41
Meet the 29-year-old cancer survivor set to make history in space
(CNN Business) —  

Signs that the world economy is starting to weaken have alarmed investors. Some global companies have warned of a slowdown in China. But things are looking good for Nike.

Nike’s sales surged 10% in the three months that ended November 30 from the same quarter a year ago, the company said Thursday. That included a 26% increase in China, thanks to sales from the country’s Black Friday-like Singles Day and demand for sneakers like Air Jordan.

Nike (NKE) is considered a bellwether of the broader economy. Its stock has fallen 18% over the last three months during the wider market slide. Shares rallied 7% after hours.

Investors are worried about the possibility of Chinese tariffs on clothing and sneakers, which would strike at Nike, the world’s largest sportswear company.

The Chinese economy has weakened lately, in part from the trade war between Beijing and Washington. The dollar has strengthened against the yuan, which makes US products more expensive for Chinese consumers. Last month, Tiffany said Chinese tourists were spending less on jewelery.

But Nike has bucked the trend, due in part to its aggressive digital growth.

“A key part of our strategy to win in this environment is to double down on digital,” CEO Mark Parker said.

Nike has reinvented itself for the digital era. It wants to sell more shoes and clothes directly to consumers, instead of through retailers. These sales carry higher margins and also give Nike total control over how its products are displayed and marketed.

The company has taken several steps toward its goal, including narrowing its focus to a dozen major cities, cutting out struggling retail partners and relaunching its membership app, NikePlus.

In North America, Nike’s biggest market, sales increased 9% from the same time last year.

The results show there were no side effects from its decision to make Colin Kaepernick a face of its “Just Do It” anniversary campaign in September.

The former San Francisco 49ers quarterback, who has not played in the NFL since the 2016 season, sparked a firestorm when he sat and later knelt during the National Anthem to protest police brutality and racial injustice. President Donald Trump even rebuked Nike after the campaign launched, asking, “What was Nike thinking?” on Twitter.

Nike’s decision was a bet on its core customers: Younger Americans in big cities. More people aged 18 to 34 supported the Kaepernick ad than those who opposed it, according to an SSRS Omnibus poll provided exclusively to CNN in September.

Nike said on Thursday that it sees more opportunities to sell mid-priced sneakers, instead of its usual pricey basketball shoes. It will also launch yoga clothing for men for the first time to tap into the athleisure market. Gap recently made a similar move. It launched Hill City in September after success with its women’s Athleta brand.