I've had a S&W M&P22Compact since 2019 now and after several thousand rounds I'd buy it again.
I mean, I prefer Ruger MKIIs and always will - showing my age, probably - but for what a new one cost I'd happily buy the M&P again. I'll warn you that mine does sometimes have the slide lock hang up mid-magazine, but it isn't a problem for a plinker.
I'm in the process of paying an absurd sum to have my old MKII threaded to bring it into the 21st century. I suspect the M&P will get shot much less after that.