What works better is outsourcing entire business functions so all of that routine coordination can happen in the same team/time zone, and you have an easier time measuring performance.
For example, we've hired several engineers through a very big name, silicon valley backed, foreign contractor firm. They perform at the level of a junior engineer at best.
China in particular have large tech companies (e.g. tiktok) that offer pays that almost matches the US, which skimmed the best engineers away from these contracting jobs.
I'm talking about tech companies directly hiring employees from other countries.
You don't even need to leave the English speaking world to find massive arbitrage opportunities.
If you think there's no React developers in the UK/Australia/Etc who can do leetcode problems...I've got news for you.
The only fly in the soup there is that I see loads of remote roles that can only be performed in the USA because of PII. It's not so much that the workforce is getting globalized, but that the country-specific workforce is going remote in whatever boundaries they're legally allowed to work (in this case, within US borders).
If you think dramatically increasing compensation is going to continue in the next decade like it has in the last one, I think you might be disappointed.
Now that companies are comfortable with remote, HR departments are eventually going to realize that services like Deel exist, and that its not actually that hard to hire employees overseas.
Once job ads start removing the "US only" part from the requirements, comp is going to come crashing back to earth.
A remote worker in the US being paid 4-5X as much as a remote worker in Europe is a massive market inefficiency just waiting to be arbitraged by companies.
As the tech giants growth inevitably slows over the coming years, they're going to have to start looking more closely at their cost structure to meet investor expectations.