I know this might not be the most convenient solution, but learning to resolder mouse switches means you can just replace the faulty components (and maybe the sliders too) and just keep using the hardware that works for you. As long as you don't have a mouse with that awful rubber that de-vulcanizes after about 3 years, and don't mind the visual wear from your hand on the shell over time, you'll easily 10x the life of most products manufactured with planned obsolescence. Logitech almost always cheaps out on the switches for their gaming mice, unfortunately. After replacing the switches on my g pro wireless when they started double-clicking after 2 years (almost exactly), it's been smooth sailing ever since.
ifixit almost always has comprehensive teardown and rebuild instructions for popular peripherals. Bonus points is that whenever you take apart something to do a repair, you can clean out all the hard to reach places that collect random dust and debris. Can be kind of gross but is also pretty satisfying. Additional bonus points for being more sustainable with your consumer habits and minimizing e-waste in landfills!
If you've got a mechanical keyboard, you can do the same but it's generally a lot more tedious since most have the switches soldered on, and LEDs double the amount of joints you have to deal with. I recently did just the WASD and a few other high-traffic keys on my board after one one of them failed, and it was a several hour process