Electron apps do are resource hogs, but that's not the reason teams is crap. Neither XAML the reason the Whatsapp app is good.
Developers focus on web because that's where the money is. Who would want to go down the Desktop road when it's less money and a dying field?
Similarly, IMO for making UIs, declarative is the way to go. A lot of these UI Desktop frameworks are procedural, which is a drag to write for UIs, and also, has many times less the size and support that, say, React, does.
Another thing is that hardware is always getting better. There is no incentive to increase performance if no one complains. A vocal minority of tech guys raving about how Electron apps are resource hogs don't dictamine what's performant and what's not.
Developers focus on web because that's where the money is. Who would want to go down the Desktop road when it's less money and a dying field?
Similarly, IMO for making UIs, declarative is the way to go. A lot of these UI Desktop frameworks are procedural, which is a drag to write for UIs, and also, has many times less the size and support that, say, React, does.
Another thing is that hardware is always getting better. There is no incentive to increase performance if no one complains. A vocal minority of tech guys raving about how Electron apps are resource hogs don't dictamine what's performant and what's not.