"The option isn't Electron vs native, it's Electron vs nothing"
Well, no. If it wasn't for #Electron, developers who want to make "apps" would actually go and learn how to make apps, you know.
Look at how native apps used to flourish on the desktop back when Electron (and the "modern" web) wasn't a thing. Look at the mobile app market, where Electron still isn't a thing.
@bugaevc No, they wouldn't. Or maybe for one platform. Case in point, I know my way around GTK+ and QT. Yet, when it came to building a keyboard configurator GUI, I went with Electron, and to this day, that's still the only viable option for the app.
Both QT and GTK lack features I need (like interactive SVGs). I'd have to complement them with a cross-platform USB and serial library.
In this case, there's _tons_ of things that Electron and web-tech makes trivial, and would be PITA natively.
@bugaevc Electron _is_ terrible, indeed. But it does enable a lot of things that otherwise wouldn't be possible. Since toots are limited to 500 chars, I'll link you this blog post I wrote a year ago: https://asylum.madhouse-project.org/blog/2018/10/26/Walking-in-my-shoes/
It's still as valid today as it was then.
For the record, what I need is interactive SVGs, because I'm not going to build the #Model01 layout from native widgets or the like. Both GTK and QT support interactive SVGs - in a webview, embedding webkit. That defeats the purpose of using native toolkits, if the core of the application will be in a webview anyway.
Cybrespace is an instance of Mastodon, a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.