Good advice, though in my experience would say relocation is no longer a thing right now, outside celebrities. I'd be willing for example, but no one will consider you when there are already 1,000 local applicants.
When we have reqs open, we're happy to relocate devs. Got a guy coming from Seattle end of the month. Obviously locals are nice, but if we find talent and have the open req, it's not a barrier.
Didn’t say it was a barrier, just unnecessary. Is it common? Did you really need that specific someone, or stopped looking at first random match? Company reqs are often unrealistic, e.g. lib knowledge that could be learned in a matter of hours.