To extend the dating analogy a bit further: rather than putting all your eggs into a single basket, you can date multiple companies and find the best fit for you.
In this market, if you are a good developer, the company will most likely want to hire you. In my experience, it is the company that needs to court the developer.