House buying/renting option when moving- ADVICE please

Everyone moves, so it’s not uncommon but I’ve no idea what the best options are!

We live 3 hrs away from family and now that our baby girl is on the way we’d like to move closer to them. The only thing is, there’s no jobs for us where they are... so we’re looking to move to this area where it’s commutable to 2 cities with jobs/companies in our field and it’s only a 1hr drive to our families and has good schools. So this area ticks most of the boxes...

Our predicament is, we currently have a mortgage on our current home... the market isn’t great, so we’d be lucky to get what we paid for if we sold it. We can rent it out, but we’d have to pay off 20% of our mortgage first, which means saving for a few more years... which is when we’d be looking at moving anyway.

I am wondering- would it be better to sell our home and buy a new one in the new area. Or rent out our current home, look for a place to rent in the new place with plans to buy later on once we’ve saved up a decent deposit...

What have you all done?