Tencent's (OTC:TCEHY) stock surged nearly 1,100% between the end of 2010 and 2017 as the Chinese tech giant evolved into the top social networking player in China and the world's biggest video game publisher. However, the stock has slumped this year, tumbling about 20% peak-to-trough as of this writing.

Tencent's big decline started in late March after its fourth-quarter report. Its rising expenses overshadowed a 51% annual jump in revenue, a 98% increase in net earnings (boosted heavily by investments), and 42% growth in non-GAAP earnings. Tencent's pledge to keep boosting investments in high-growth markets like streaming video, digital payments, cloud services, AI technologies, and smart retail convinced investors that its margins would remain under pressure.

Tencent building in Shenzhen.

Image source: Tencent.

But as all long-term investors should know, high-growth tech companies usually use their cash to expand their ecosystems. Therefore, it's common for analysts -- who are more interested in a business' quarter-to-quarter performance -- to overreact to aggressive spending plans.

Shortly after Tencent's report, South African media firm Naspers -- one of the company's earliest investors -- sold a 2% stake in the company. President Trump then announced plans to impose tariffs against China, which stoked fears of a trade war and sank many Chinese stocks. That triple whammy of bad news knocked Tencent to its 2018 lows. 

But I think the stock could be primed for a rebound, for two simple reasons.

1. Tencent's expansion widens its moat

Tencent's ecosystem covers lots of markets. WeChat, the most popular messaging app in China, grew its monthly active users (MAUs) 11% annually to 989 million last quarter. The expansion of WeChat -- which offers ride hailing, delivery services, e-commerce features, games, payments, and other services -- widens Tencent's moat against search giant Baidu (NASDAQ:BIDU) and e-commerce heavyweight Alibaba (NYSE:BABA).

Tencent's older messaging platform QQ, which is integrated into many websites, is also making the leap from PCs to mobile devices. QQ's smart device MAUs rose 2% annually to 683 million during the quarter.

Tencent's video game portfolio is also growing. It owns e-sport favorite League of Legends, mobile hits like Clash of Clans and Arena of Valor, and stakes in Activision Blizzard and Glu Mobile.

Tencent's Arena of Valor.

Tencent's Arena of Valor. Image source: Google Play.

In the payments market, its WeChat Pay platform holds a duopoly with Alibaba affiliate Ant Financial's Alipay. In streaming video, it ranks second after Baidu's iQiyi and remains ahead of Alibaba's Youku Tudou. In streaming music, Tencent Music is the clear market leader. Tencent is also following Alibaba and Baidu into the cloud and AI markets.

The expansion of that sprawling ecosystem requires lots of cash. Therefore, investors shouldn't be worried about a slight contraction in margins as long as Tencent keeps growing its revenue and earnings.

Analysts expect Tencent's revenue to rise 42% this year, and for its earnings to dip 8% on higher expenses and tough comparisons to 2017. But for 2019, they expect its sales and earnings to rise 34% and 32%, respectively.

2. Misunderstanding Naspers and Trump

Second, the damage caused to Tencent by Naspers' sale and Trump's tariffs was unjustified.

Naspers didn't sell its stake in Tencent because it was bearish on the company's prospects. It did so to raise cash to expand its other businesses. Naspers subsequently issued a statement calling Tencent "one of the very best growth enterprises in any industry in the world, managed by an exceptionally able team" -- and pledged to not sell any more shares for at least three more years.

Trump's tariffs should also have a limited impact on Tencent, since Tencent generates most of its revenue in China. Its only US interests are its stakes in companies like Snap, Activision, Glu, and Tesla Motors, but those are minority stakes that haven't attracted any regulatory scrutiny. Therefore, selling Chinese tech giants like Tencent on tariff fears would be a short-sighted move.

Will Tencent rebound soon?

Tencent's stock isn't cheap at 35 times forward earnings, but it's a reasonable valuation for one of China's biggest tech companies. If you think Tencent still has room to run, you should consider buying this stock on these dips.

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.