You can make a bad native app, but you can’t make a good Electron app.
Edit to add: Lots of people are mentioning Visual Studio Code. I agree it’s a good app in many dimensions; I didn’t mean to say that an Electron app can’t be good in some ways, even in the most important ways, but rather that Electron introduces flaws that prevent the app from being good in all ways. In particular, while faster than most Electron apps it’s still sluggish on old devices. It still loses track of files when renamed unless you do the rename through Visual Studio Code. The UI elements aren’t as polished as native let alone consistent with it, settings aren’t synced and backed up to iCloud, system-wide keyboard settings aren’t obeyed, Quick Look previews aren’t provided, etc. All of these problems were either introduced by Electron or made more difficult by it.
Edit to add: Lots of people are mentioning Visual Studio Code. I agree it’s a good app in many dimensions; I didn’t mean to say that an Electron app can’t be good in some ways, even in the most important ways, but rather that Electron introduces flaws that prevent the app from being good in all ways. In particular, while faster than most Electron apps it’s still sluggish on old devices. It still loses track of files when renamed unless you do the rename through Visual Studio Code. The UI elements aren’t as polished as native let alone consistent with it, settings aren’t synced and backed up to iCloud, system-wide keyboard settings aren’t obeyed, Quick Look previews aren’t provided, etc. All of these problems were either introduced by Electron or made more difficult by it.