moving to a new state applying for a mortgage moving to a new job

If you are moving to another state, and looking for a new job, wait until you have found that new job before applying for a mortgage and buying a new home.