My local Ace hardware is nearby. When you walk in the store there is at least one and often three people who say hello and ask what you need. And then take you where you need to go. They know exactly what they have and where it is and will get you in and out of the store rapidly. I have never waited for more than one person ahead of me to check out.
It is stocked OK, not great. I always go there when I need something same day.
If I can wait, or I need something they do not stock, I order from either McMaster Carr or Amazon. It is very convenient to have materials and hardware delivered right to the door. Oftentimes the cost including shipping is less than local suppliers can offer. And it is better than chasing stuff down yourself. Waiting 1-3 days is not a problem for me normally.
I have a bunch of specialty suppliers as well.
There is an excellent old school lumber yard about 30 minutes away, and an outstanding cabinet grade plywood and hardwood supplier about the same distance, and a super helpful Benjamin Moore store in the same area. Right next to the Benjamin Moore store is a huge tile and stone supplier. Both the Benjamin Moore store and the tile store are about 95% commercial but will give trade discounts to me because I don't look like a homeowner, I know what I want, and don't bog them down with questions. For nursery, there is a wonderful old school nursery, been there for decades, they have high quality planting materials and very wide range too. For gravel and topsoil there is a commercial supplier off of Interstate 5 that is easy to work with and has top quality material. I have found a good place to buy new steel, a good place to buy scrap steel, and a good place to buy bulk hardware sold by the pound.
It took a while after moving here from Virginia, to figure out all these best-source local suppliers.
I am going through this in some detail to explain that I have put together a whole network of specialty suppliers, rather than walk into the box stores. I really have come to thoroughly dislike the one-stop box stores. I don't like the quality of their materials, the price of their hardware, or the attitude of their staff.
The one place where they have a big advantage, at least here, is in the range and prices of household appliances they offer.
I do not think the local hardware and specialty building supply stores I go to are being competed out of existence by the box stores and Amazon. They all offer continuing value.