If I were buying ASX shares to hold for the next decade, I'd focus on businesses with plenty of opportunities to grow their earnings.
Here are three that I think fit the bill, particularly after their recent share price weakness.

Image source: Getty Images
Life360 Inc (ASX: 360)
Life360 shares have fallen almost 60% from their 52-week high, which I think makes this an opportune time to consider an investment.
The family safety technology company has been growing rapidly in recent years and now has more than 102 million monthly active users.
Only a relatively small portion of these users are paying for the services, giving it a significant opportunity to convert them in the future.
But that doesn't mean free users are a drag on its financial performance. That's because its advertising business is also growing strongly and could become very important over the next decade.
Advertising revenue surged 315% to US$22 million during the last quarter, and the company recently appointed an experienced advertising executive to help expand this business.
If it can continue increasing advertising revenue while expanding subscriptions, I believe its earnings could look substantially different by 2036.
REA Group Ltd (ASX: REA)
REA Group is another ASX share I'd happily buy and hold. Especially following a decline of almost 30% from its 52-week high.
The realestate.com.au operator has an enormous audience, which gives it a powerful position in Australia's property advertising market.
But I think its ability to grow revenue without needing more properties to be sold is key.
In FY 2026, its results release showed that national property listings were flat. However, REA achieved 13% growth in residential Buy yield, which measures the revenue it generates per listing. This helped the company grow its underlying earnings despite the uninspiring property market.
Of course, increasing competition could make it harder to maintain these price increases, but I believe REA's ability to attract property buyers gives agents a compelling reason to advertise with it.
And if the company can keep improving its products and earning more from each listing, I think there's a good chance its earnings will be considerably higher in 2036.
TechnologyOne Ltd (ASX: TNE)
Finally, I'd buy TechnologyOne shares, which are trading approximately 15% below their 52-week high.
The enterprise software company provides essential systems to universities, councils and other organisations.
What I like is that TechnologyOne doesn't have to rely entirely on winning new customers to grow. Its latest half-year results revealed net revenue retention of 114%. This means revenue from its existing customer base increased by 14%, even after accounting for lost business.
That's an impressive result and demonstrates how successfully TechnologyOne is encouraging customers to adopt additional products and services.
Its annual recurring revenue has now reached $598 million, with management targeting more than $1 billion by FY 2030.
With further opportunities in the UK and new AI-powered products, I believe TechnologyOne has a credible pathway to continue growing well beyond that milestone.
Its shares aren't cheap, but I think the company's ability to generate more revenue from existing customers makes it an attractive long-term investment.