If a job helps you relocate, your visa expires once you are no longer working for them and you have to return to your home country. At least that's what a coach told me, so she advised against that if I want to stay indefinitely. But there seems to be a lot of disparity between the advice I keep getting. I'm a digital nomad/freelancer so I'm looking to move with my own work online. Thank you for emphasizing that I need to understand the social charges. I will ask an accountant about all of that.
Bonjour and thank you so much for this important comment. Also, very good advice to speak to a coach or other relocation expert (I'm no expert, but I did have a one-on-one meeting with one before moving regarding my situation). I do know quite a number of people who are happily (and for long-term) here in France with a visa that came with their job, but of course if you have special skills, you could apply for the passeport talent or other type of visa as well. In your case, I'd suggest you speak to a French accountant, because they can advise you on how taxes and social charges will work as a freelancer, and they understand the rules around billing clients, etc. Wishing you bonne continuation !