Another thing - most european companies will reduce your salary and treat you as a slave if you are working as a contractor outside the EU (since no one can punish them that way).
I can confirm that an ex FB guy who went full-remote digital nomad style earlier this year and wanted to move as a senior developer for a French startup simply because he loves their idea (and it'd be easier for him due to timezones while he stays in Thailand/Cambodia) and guess what they did? They offered him less than half as compared to an actual junior position, even though they received milkions in funding, and the reason? He lives in a "cheap" place therefore he doesn't need a high salary anymore, who cares of his expertise, it's not going to be "fair" towards the other workers in the company.