Sonoff switches

I’m having problems with creating a stable network for my client they have sonoff switches everywhere in the house. What can I use to stabilise all of them devices keep going offline ?

Wifi switches or Zigbee switches ?