This is and will be the great challenge faced by successful States. I watched as my own hometown was overrun by Californians fleeing crime and high costs. They came to Southern Utah because it was such a great place to live. But most of them only made it a year before they were complaining that it wasn't the same as the place they left. They seemed utterly incapable of recognizing the connection between various social mores or legislation and the problems they had fled.
In a host of areas including RKBA, residents of States that are successful need to give some thought to how to discourage those who support failed social, economic, and other policies and laws from wanting to relocate in the successful State. In a better world, States would be allowed to impose something like a 5 year residency and maybe even ownership requirement before newcomers cold vote. But we don't get to do that.
Good gun laws won't keep the gun grabbers away. But some thought ought to be given to what measures might make an area less inviting to those whose first order of business would be turn the area into the same failed mess they fled in the first place.