FILE PHOTO: Containers are seen at the Yangshan Deep Water Port in Shanghai, China April 24, 2018. REUTERS/Aly Song/File Photo
Aly Song/Reuters
FILE PHOTO: Containers are seen at the Yangshan Deep Water Port in Shanghai, China April 24, 2018. REUTERS/Aly Song/File Photo
Now playing
01:49
China retaliates with higher tariffs on US goods
BEIJING, CHINA - MARCH 25: People walk by the flagship store of clothing brand H&M at a shopping area on March 25, 2021 in Beijing, China. Many on Chinese social networking platforms called for boycotts of major Western brands, including H&M, after statements made by the companies in the past about Xinjiang cotton resurfaced online. (Photo by Kevin Frayer/Getty Images)
Kevin Frayer/Getty Images
BEIJING, CHINA - MARCH 25: People walk by the flagship store of clothing brand H&M at a shopping area on March 25, 2021 in Beijing, China. Many on Chinese social networking platforms called for boycotts of major Western brands, including H&M, after statements made by the companies in the past about Xinjiang cotton resurfaced online. (Photo by Kevin Frayer/Getty Images)
Now playing
04:25
Western brands slammed in China over Xinjiang stance
HONG KONG, CHINA - DECEMBER 12: Hong Kong media tycoon Jimmy Lai, founder and owner of Apple Daily newspaper is seen handcuffed and escorted by the guards leaving Lai Chi Kok Reception Centre on December 12, 2020 in Hong Kong, China. Lai is accused of collusion with foreign forces to endanger national security, an offence that carries a maximum penalty of life imprisonment. (Photo by Keith Tsuji/Getty Images)
Keith Tsuji/Getty Images
HONG KONG, CHINA - DECEMBER 12: Hong Kong media tycoon Jimmy Lai, founder and owner of Apple Daily newspaper is seen handcuffed and escorted by the guards leaving Lai Chi Kok Reception Centre on December 12, 2020 in Hong Kong, China. Lai is accused of collusion with foreign forces to endanger national security, an offence that carries a maximum penalty of life imprisonment. (Photo by Keith Tsuji/Getty Images)
Now playing
02:28
Hong Kong media tycoon's long battle for freedom
TOPSHOT - A demonstrator wearing a mask painted with the colours of the flag of East Turkestan and a hand bearing the colours of the Chinese flag attends a protest of supporters of the mostly Muslim Uighur minority and Turkish nationalists to denounce China's treatment of ethnic Uighur Muslims during a deadly riot in July 2009 in Urumqi, in front of the Chinese consulate in Istanbul, on July 5, 2018. - Nearly 200 people died during a series of violent riots that broke out on July 5, 2009 over several days in Urumqi, the capital city of the Xinjiang Uyghur Autonomous Region, in northwestern China, between Uyghurs and Han people. (Photo by OZAN KOSE / AFP)        (Photo credit should read OZAN KOSE/AFP/Getty Images)
OZAN KOSE/AFP/AFP/Getty Images
TOPSHOT - A demonstrator wearing a mask painted with the colours of the flag of East Turkestan and a hand bearing the colours of the Chinese flag attends a protest of supporters of the mostly Muslim Uighur minority and Turkish nationalists to denounce China's treatment of ethnic Uighur Muslims during a deadly riot in July 2009 in Urumqi, in front of the Chinese consulate in Istanbul, on July 5, 2018. - Nearly 200 people died during a series of violent riots that broke out on July 5, 2009 over several days in Urumqi, the capital city of the Xinjiang Uyghur Autonomous Region, in northwestern China, between Uyghurs and Han people. (Photo by OZAN KOSE / AFP) (Photo credit should read OZAN KOSE/AFP/Getty Images)
Now playing
01:16
Facebook: Chinese hackers targeted Uyghurs living in US
screengrab australia wine
CNN
screengrab australia wine
Now playing
02:44
Australia's wine industry battered as relations with China sour
LONDON, ENGLAND - JANUARY 29: General View of BBC Broadcasting House on January 29, 2020 in London, England.
Peter Summers/Getty Images
LONDON, ENGLAND - JANUARY 29: General View of BBC Broadcasting House on January 29, 2020 in London, England.
Now playing
03:22
China bans BBC News after UK pulls CGTN's license
Biden US China tech war Wang pkg intl hnk vpx_00010025.png
Biden US China tech war Wang pkg intl hnk vpx_00010025.png
Now playing
02:37
US-China tech rivalry will likely continue under Biden presidency. Here's why
Jack Ma makes his first public appearance since late October in a new video published on January 20 by Tianmu News, a subsidiary of the Zhejiang government's official newspaper.
Tianmu News
Jack Ma makes his first public appearance since late October in a new video published on January 20 by Tianmu News, a subsidiary of the Zhejiang government's official newspaper.
Now playing
02:20
See Jack Ma's first public appearance in months
In this photo taken on September 5, 2020, people wearing face masks walk in a shopping mall in Wuhan, China's central Hubei province. - China is recasting Wuhan as a heroic coronavirus victim and trying to throw doubt on the pandemic's origin story as it aims to seize the narrative at a time of growing global distrust of Beijing. (Photo by Hector RETAMAL / AFP) / TO GO WITH AFP STORY HEALTH-VIRUS-CHINA-DIPLOMACY-WUHAN,FOCUS BY DAN MARTIN (Photo by HECTOR RETAMAL/AFP via Getty Images)
Hector Retamal/AFP/Getty Images
In this photo taken on September 5, 2020, people wearing face masks walk in a shopping mall in Wuhan, China's central Hubei province. - China is recasting Wuhan as a heroic coronavirus victim and trying to throw doubt on the pandemic's origin story as it aims to seize the narrative at a time of growing global distrust of Beijing. (Photo by Hector RETAMAL / AFP) / TO GO WITH AFP STORY HEALTH-VIRUS-CHINA-DIPLOMACY-WUHAN,FOCUS BY DAN MARTIN (Photo by HECTOR RETAMAL/AFP via Getty Images)
Now playing
01:32
China's economy grows 2.3% in 2020
A split of Chinese President Xi Jinping and US President Donald Trump.
Getty Images
A split of Chinese President Xi Jinping and US President Donald Trump.
Now playing
02:06
Trump administration dials up US-China tech tensions
NEW YORK, NEW YORK - NOVEMBER 24: People walk past the New York Stock Exchange (NYSE) on November 24, 2020 in New York City. As investor's fear of an election crisis eases, the DowJones Industrial Average passed the 30,000 milestone for the first time on Tuesday morning.  (Photo by Spencer Platt/Getty Images)
Spencer Platt/Getty Images
NEW YORK, NEW YORK - NOVEMBER 24: People walk past the New York Stock Exchange (NYSE) on November 24, 2020 in New York City. As investor's fear of an election crisis eases, the DowJones Industrial Average passed the 30,000 milestone for the first time on Tuesday morning. (Photo by Spencer Platt/Getty Images)
Now playing
02:20
Chinese firms face delisting threat
HONG KONG - 2019/04/06: In this photo illustration a Chinese online payment platform owned by Alibaba Group, Alipay, logo is seen on an Android mobile device with People's Republic of China flag in the background. (Photo Illustration by Budrul Chukrut/SOPA Images/LightRocket via Getty Images)
SOPA Images/LightRocket/LightRocket via Getty Images
HONG KONG - 2019/04/06: In this photo illustration a Chinese online payment platform owned by Alibaba Group, Alipay, logo is seen on an Android mobile device with People's Republic of China flag in the background. (Photo Illustration by Budrul Chukrut/SOPA Images/LightRocket via Getty Images)
Now playing
02:40
How China's Ant Group built a $17 trillion payments machine
A pedestrians walks past HSBC signage in the Admiralty district of Hong Kong on July 31, 2017.
HSBC said on July 31 pre-tax profit for the first half of 2017 had risen five percent to 10.2 billion USD compared with the same period last year, in what it called an "excellent" result following a turbulent 2016. / AFP PHOTO / ISAAC LAWRENCE        (Photo credit should read ISAAC LAWRENCE/AFP via Getty Images)
Issac Lawrence/AFP/Getty Images
A pedestrians walks past HSBC signage in the Admiralty district of Hong Kong on July 31, 2017. HSBC said on July 31 pre-tax profit for the first half of 2017 had risen five percent to 10.2 billion USD compared with the same period last year, in what it called an "excellent" result following a turbulent 2016. / AFP PHOTO / ISAAC LAWRENCE (Photo credit should read ISAAC LAWRENCE/AFP via Getty Images)
Now playing
03:31
HSBC may have to choose between China and the West
BEIJING, CHINA - OCTOBER 27: A Chinese soldier stands guard in front of Tiananmen Gate outside the Forbidden City on October 27, 2014 in Beijing, China.  (Photo by Kevin Frayer/Getty Images)
Kevin Frayer/Getty Images
BEIJING, CHINA - OCTOBER 27: A Chinese soldier stands guard in front of Tiananmen Gate outside the Forbidden City on October 27, 2014 in Beijing, China. (Photo by Kevin Frayer/Getty Images)
Now playing
01:56
China censors a lot, from Winnie the Pooh to the NBA
SHANGHAI, CHINA - SEPTEMBER 17: Alibaba Chairman Jack Ma speaks during the opening ceremony of the 2018 World Artificial Intelligence Conference at West Bund on September 17, 2018 in Shanghai, China. The 2018 World Artificial Intelligence Conference is held on September 17-19 in Shanghai. (Photo by Zhao Yun/VCG via Getty Images)
Zhao Yun/VCG via Getty Images
SHANGHAI, CHINA - SEPTEMBER 17: Alibaba Chairman Jack Ma speaks during the opening ceremony of the 2018 World Artificial Intelligence Conference at West Bund on September 17, 2018 in Shanghai, China. The 2018 World Artificial Intelligence Conference is held on September 17-19 in Shanghai. (Photo by Zhao Yun/VCG via Getty Images)
Now playing
03:02
How Jack Ma changed China
Yum China
Now playing
01:43
Why American fast food chains will do anything to win in China
(CNN Business) —  

Should I invest in Chinese stocks given the concerns about a trade war with the United States?

The trade kerfuffle clearly should give investors pause when looking at Chinese stocks. But you shouldn’t ignore the world’s most populous nation and second largest economy.

In fact, China’s stock market is holding up just fine so far this year – despite all the rhetoric from the Trump administration and the new round of tariff increases imposed by the United States and China on one another.

The Shanghai Composite is up 18% this year, better than the Dow and S&P 500. And this benchmark Chinese index has gained nearly 50% over the past five years – matching the rise of US stocks over the same period.

There are some industries in China that might hold up well even if there is no quick resolution to the current trade spat.

The rise in purchasing power for middle-class Chinese consumers has created a vibrant retail sector. So American investors might be wise to consider big Chinese brand name companies as part of a diversified portfolio.

Ratings agency Standard & Poor’s said in a report Wednesday that the impact of higher tariffs for many of Chinese companies it covers should be “manageable” because these companies focus more on the domestic Chinese market as opposed to exports.

Chinese consumer companies should hold up well

China’s e-commerce company Alibaba (BABA) reported strong results Wednesday as sales and the volume of merchandise on Alibaba (BABA)’s various platforms soared. The stock is now up about 30% this year. That’s better than Amazon (AMZN).

Shares of Alibaba rival JD (JD) and Chinese tech and gaming company Tencent (TCEHY)have surged this year as well.

If you’re an average investor looking to buy into the China market, there are several top Chinese ETFs, such as the iShares MSCI China (MCHI) and SPDR S&P China (GXC) funds, that are each up about 13% year-to-date. Both own Alibaba and Tencent as well as Chinese search company Baidu (BIDU) and telecom China Mobile (CHL).

There are also high hopes for the Wall Street debut of China’s Luckin Coffee (LK) – a competitor to Starbucks (SBUX) – later this week on the Nasdaq in the United States.

China’s financial services sector is booming as well. Shares of Chinese online lending marketplace Jiayin Group (JFIN) rose more than 50% in its debut on Wall Street on Friday – the same day that Uber (UBER) shares fell.

Krishna Memani, chief investment officer of OppenheimerFunds, added in a report this week that China’s government and central bank will pull out all the stops to keep the Chinese economy from slowing down too much.

That’s another reason why Chinese companies that do a big chunk of their business domestically should hold up okay.

“Chinese policy makers, who have been quietly but definitively stimulating their economy, are likely to respond with more fiscal stimulus,” Memani said.

US exporters to China could get hit harder

The emergence of the Chinese consumer also makes it less likely that big Chinese firms will suffer dramatically from a trade war. There will be pain, of course. But it won’t be so severe as to derail the stocks of most leading Chinese companies.