News for hackers. Stuff that matters.
Re:Electron Fiddle: The easiest way to get started with Elec... by avx56 on Saturday February 25, 2023 @10:50PM (#34942869)
Please can Electron die already? Almost every Electron program I use could be a PWA. Slack has no reason to need another browser engine running. You could make a point for native integration, but there is none. And all it does is display text (and images). What a world we live in. Worse is better, amirite?
Re:Electron Fiddle: The easiest way to get started with Elec... by oblak on Sunday February 26, 2023 @02:35AM (#34943804)
I find all this hate rather bizarre. Why do you even use the electron versions instead of opening things in browser tabs? I find all this hate rather bizarre.
Re:Electron Fiddle: The easiest way to get started with Elec... by speps on Sunday February 26, 2023 @04:01AM (#34944123)
Some apps only come as Electron apps with no web version.
Re:Electron Fiddle: The easiest way to get started with Elec... by Kiro on Sunday February 26, 2023 @05:56AM (#34944616)
Good luck releasing a PWA on Steam. Do you think Vampire Survivors would be so popular if it only existed as a web page?
Re:Electron Fiddle: The easiest way to get started with Elec... by ninepoints on Sunday February 26, 2023 @06:12AM (#34944675)
Err, tray icons? Filesystem access/watches? Registry? Process API? Native plugins? If _every_ Electron program you use could strictly be a PWA, that says more about your usage than Electron itself.
Re:Electron Fiddle: The easiest way to get started with Elec... by jatins on Sunday February 26, 2023 @07:36AM (#34945055)
It might if Apple or Microsoft provided good frameworks for building native apps.

I read a comment[0] by a developer who used SwiftUI for his app

> What took me 15 minutes on the web, it could take a day on SwiftUI.

It's just not possible for indie devs (or startups) to put that sort of time into native apps. Not to mention SwiftUI is still extremely broken despite being available for 3 years. Quoting from that article

> Every major iOS / macOS upgrade, I have to refactor my code because something crashes the new version. Imagine this happened on the browser.

At this point, unless Apple and MS provide a good component based abstraction for building native UIs (SwiftUI is a step in that direction) developers will keep going to Electron and other alternatives which let them write React (or svelte or even Flutter in the non-web land -- anything that lets them get actual work done)

[0] https://www.indiehackers.com/post/i-made-session-a-productiv...