Got rid of my gas weed trimmer 3 years ago. I’ll never go back. I got a good quality electric. It has enough power to do all the necessary yard work 2x over on a charge. It doesn’t get bogged down. I don’t have to mix two stroke fuel. I don’t have to clean the fuel system after not using it for the winter or store gas over the off season. No worries about spills. Just swap out the batteries and go.
Blowers have suffered from insufficient power when battery operated. Maybe that’s changed. I’d love an electric mower, but they’re crazy expensive for a decent one.