Does moving out of California avoid state capital gains tax on stock?
So I've been in California for about 8 years and I have a significant amount of company RSUs vesting over the next 18 months. I'm seriously considering relocating to Texas or Nevada before the vesting dates because someone told me California taxes capital gains as ordinary income at the full state rate. I already looked at a few articles but they all say different things about whether California will come after you anyway based on when the stock was "earned." I work remotely so the job move is easy. My question is: does moving out of California before my RSUs vest actually avoid the California state capital gains tax on that stock, or will California claim a portion of it based on how long I worked there while the grant was building up?