State tax authorities have dealt with these questions for decades. There are well understood answers.
People have a different, long-term relationship with the tax authorities because 'you're not going anywhere' and this makes it possible to settle at a later time. Also tax authorities take action in retrospect specially because things are difficult to prove on-the-spot, but Facebook will need to pay you next month and next year you might be working somewhere else. How will they be able avoid over/underpaying you?
https://www.bloomberg.com/news/articles/2020-05-12/stranded-...