The embedded network stack on HP printers - in my experience, always best to set them on a static IP on the device (not a DHCP reservation on the router) - then they’re pretty stable.
For “best printer” - always subjective - but for the community at large - I’ve always had very good luck with Brother for Win/Mac (and sometime linux) - it’s a commonly overlooked brand, but they’re solid, and consumables are very reasonable compared to the mainstream brands.