Not even a company like Slack wants to get into the headache of maintaining a couple of native desktop apps, even if they probably have the money to do so.
Not even a company like Slack wants to get into the headache of maintaining a couple of native desktop apps, even if they probably have the money to do so.
I've seen great success with this approach for most platforms including mobile as it provides the end-user with a great user experience (you can use all the native UI APIs which provides an experience that the user is already familiar with) as well as extremely high performance with a high degree of code reuse.
Even that part makes it already more work than Electron and I can't think of any meaningful business benefit to not using Electron.
Because everyone optimized for "meaningful business impact" I have no space on my SSD to install your app.
(and even if I install it, it would cause my laptop fans go wild and I go for an alternative / use your app less.)
Even if setting up the code reuse among platforms was trivial, now you have to develop and maintain a new UI project for each platform with different languages, SDKs, dev environments, and other peculiarities.
With a web UI you can target 6 platforms at once with the same UI project: Android, iOS, ChromeOS, macOS, Windows, and web.
I'd add one thing, it's also used because it leverages existing web development skills.
I've made a couple of Electron applications because it simply lets me make a "desktop" app that is basically a web app that can use some local resources such as the file system, notifications, etc. Is it the best way to make a desktop app? Nope. Do I like the fact that Electron, when not optimized, is a pig? Nope.
But me choosing between Electron and a more native platform it is literally the difference between me shipping something or nothing at all.
Also, every situation is different, as some individuals/organizations have the existing skills to do a native app without learning/retooling and assume the situation is the same everywhere else.
Nope, it is because some bullshit MBA can't see beyond quarterly profits.