3 ms·
They [Electron and React native desktop apps] constantly crash and have no value over a native desktop application. No they don't. I use VSCode, Slack and Spot
by onion2k 5y ago
They [Electron and React native desktop apps] constantly crash and have no value over a native desktop application.
No they don't. I use VSCode, Slack and Spotify literally all day, all at the same time, with at least 3 Chrome windows open with between 3 and 20 tabs in each, and I honestly can't remember the last time any of it crashed. I use a few other Electron apps on and off and they don't crash either. Electron can be a bit of a memory hog, but that's more Chromium's eager caching than Electron. I also have Safari, Firefox and Edge running most of the time and they don't crash either. In fact, the only app I use that crashes regularly is Android Studio.
Admittedly I only really use OSX so perhaps it's different on Windows or Linux, but the "Electron crashes a lot" trope is almost certainly due to either using poorly written Electron apps (going native won't help you if the dev sucks) or running something else that's killing them (don't run that thing?). Electron is fine.
- mattlondon 5y agoI have personally also never experienced a crash in an electron app on win or Linux either.
- cosmotic 5y agoI haven't experienced the electron process crashing but I have many times seen an electron app 'reload' by surprise; I suspect this is a default exception handler catching something that wasn't otherwise caught and would consider this 'an electron app crashing'.