I moved out of New York City in 2020. The overriding reason was not this, it was just a fluke that I got a very compelling out of state job offer in 2019, and they requested I move in 2020.
However, I am making about about $150-$160k as an SWE, and it goes a lot further here (although having to spend $700-$800 a month for a car, which I did not have to do in NYC, bites into that a little). I have a new, big, apartment with a front door to a tree-lined street in a nice walkable neighborhood near my workplace for less than $2000 a month. In New York I would have an older, smaller apartment on a higher floor in not as nice of a neighborhood for more a month.
I know people say to move to the Bay area because that's where the action is for tech jobs and where you make connections etc., but I don't see why not take a step on a way for a decent paying job in a cheap city where you can accumulate savings while your skillset is increasing.
The juniors/associates I work with making <$100k a year say they can barely afford their expenses now here. I don't know what they'd be doing in the Bay Area or New York. They have roommates too.
I saved up a ton of money down here, and gained experience as well. If I move back to New York (or to the Bay Area), I do so on surer footing - I have a lot of money saved up for a rainy day now.
It also makes for a situation where those with lower income - even associate/junior SWEs at Fortune 100 companies - can't afford to live in cities like NYC, San Francisco etc.