No, that's not the only factor. It may come as a surprise to some, but not everyone wants to live in the US, or live the US company life. I couldn't care less about getting a work visa and doubling my salary if it means I have to live in Silicon Valley. I'm not saying it's bad, I'm saying it's not for me, and for many others.
$250k/yr in Europe > $500k/yr in US, especially since in Europe that would put me somewhere in the 1% and I would live like a prince pretty much everywhere.
And more personally, $250k/yr at a company I enjoy > $1M/yr at a FAANG. I have no interest in getting filthy rich working for any of those companies, but YMMV.
$250k/yr in Europe > $500k/yr in US, especially since in Europe that would put me somewhere in the 1% and I would live like a prince pretty much everywhere.
And more personally, $250k/yr at a company I enjoy > $1M/yr at a FAANG. I have no interest in getting filthy rich working for any of those companies, but YMMV.