The point is that Slack does not take advantage of Electron at all. It’s no better than running it in a browser.
For Slack it does. Building an app via Electron means it's cross-platform by default, so Slack doesn't need to invest in separate platform teams to solve the same problem (Windows, macOS, Linux).
Electron also has better support for things like native notifications, video and voice calls, offline capabilities, and to other native APIs etc that are either unsupported or spottily supported via the browser.
Flutter?
What about Flutter?
It's a much more lightweight option for building cross platfrom apps than Electron. Heck, even Tauri is better than Electron even though it also uses web technologies for UI.
Flutter came to market much later. It wasn't even a thing when Slack started building using Electron. I'm sure the same applies to Tauri as well.
The point is that Slack does not take advantage of Electron at all. It’s no better than running it in a browser.
For Slack it does. Building an app via Electron means it's cross-platform by default, so Slack doesn't need to invest in separate platform teams to solve the same problem (Windows, macOS, Linux).
Electron also has better support for things like native notifications, video and voice calls, offline capabilities, and to other native APIs etc that are either unsupported or spottily supported via the browser.
Flutter?
What about Flutter?
It's a much more lightweight option for building cross platfrom apps than Electron. Heck, even Tauri is better than Electron even though it also uses web technologies for UI.
Flutter came to market much later. It wasn't even a thing when Slack started building using Electron. I'm sure the same applies to Tauri as well.