We have an electric A.O. Smith 52 gallon water heater that I put in 30 years ago when we built our house. Still working good.
Didn't know they made shark bite flex connectors. Learn something every day. Those things are easy, reliable - and expensive.