News for hackers. Stuff that matters.
Re:Electron 6.0 by dkersten on Wednesday July 31, 2019 @06:48AM (#20573185)
> Do it!

What's the benefit over using a native GUI library?

Re:Electron 6.0 by ttoinou on Wednesday July 31, 2019 @07:04AM (#20573281)
It's cross platform almost out of the box.

You rely on Chromium which is battle-tested and have frequent updates

You can hire web developers to sketch, prototype, deliver your GUI. You can connect it to your own website.

You can let your users creates plugins and scripts more easily with web technologies.

You already have most of the codebase if you want to run a Light version of your software online as a SaaS or free app.

Re:Electron 6.0 by rhabarba on Wednesday July 31, 2019 @08:15AM (#20573730)
> You rely on Chromium which is battle-tested and have frequent updates

Chromium has been battle-tested and was wounded severely. Embedding it in your application will not automatically add the regular security patches to it.

Re:Electron 6.0 by ktpsns on Wednesday July 31, 2019 @07:04AM (#20573280)
The ease of providing a styled user interface. In the 2000s, this was something everybody wanted to archive, the term for it was "rich user interface". Already back then, embedding a HTML widget seemed an easy way to archive that.
Re:Electron 6.0 by rhabarba on Wednesday July 31, 2019 @08:18AM (#20573754)
Qt has been supporting CSS-like styling of your native applications for quite a while now.
Re:Electron 6.0 by obliviousonions on Wednesday July 31, 2019 @11:53AM (#20575426)
It's pretty hard and has a lot of problems. It's definitely not as easy as css and doesn't have as many options for styling. Sometimes, when you change one property, 5 other unrelated properties will change as well, and you need to manually set them. CSS is much easier to get a consistent theme for an application.
Re:Electron 6.0 by AnIdiotOnTheNet on Wednesday July 31, 2019 @10:19AM (#20574609)
Ironically one of the big complaints against Java was that it didn't look native. Then not looking native became a feature.