News for hackers. Stuff that matters.
Re:Electron 2.0.0 beta by yoz-y on Thursday February 22, 2018 @05:20AM (#16436582)
You can criticize something even if it does not directly affect you though. For example, I can live with Slack & Skype eating half of my ram but I really wish I would not have to.

I really like Git Kraken, in theory, but if I imagine it as a native app it would be so much better.

I see the appeal of Electron, and to be fair we also use it at work. However our application is destined to be running on a dedicated hardware which runs it and nothing else.

Ultimately I'd like to see products like Slack starting with an Electron app and when the means permit it migrate to a native application. Not the other way around.

Re:Electron 2.0.0 beta by gldalmaso on Thursday February 22, 2018 @06:34AM (#16436868)
If you consider that the browser is where most Electron app users actually begin using the app, you can only expect Electron to be replaced by some native app that runs the same code as the browser. This is the killer feature of Electron.

Having a web app + native app means a huge leap in cost.

Having no web app + native app means a huge loss in user reach.

The only viable replacement would be something like Electron but with a stripped down browser fit to purpose instead of the huge surface-area of Chrome.

Re:Electron 2.0.0 beta by josephg on Thursday February 22, 2018 @07:09AM (#16436988)
The replacement is react native. Same web developer friendly environment with practically native performance. And yes, it’s available for desktop as well as mobile.
Re:Electron 2.0.0 beta by luladjiev on Thursday February 22, 2018 @08:16AM (#16437308)
Just curious can you give a link to desktop app made with React Native or an example / tutorial for this?
Re:Electron 2.0.0 beta by piracykills on Thursday February 22, 2018 @08:51AM (#16437502)
I see a few attempts -

https://github.com/Microsoft/react-native-windows

and http://reactdesktop.js.org/

The Windows one is from Microsoft, but is single platform. Nothing officially supported by react devs as far as I can tell.

Re:Electron 2.0.0 beta by luladjiev on Thursday February 22, 2018 @09:16AM (#16437642)
I see. Thanks.