Hacker News new | ask | show | jobs
by ryukafalz 1999 days ago
>Also, PWAs are unable to do many things that Electron apps can as PWA is still ultimately in a browser sandbox whereas Electron runs a Node.js backend that can do pretty much anything a regular desktop app can (networking, access hardware, etc.).

This is precisely why I would prefer many of the Electron apps that I've used to be PWAs instead. For many apps I don't trust them with access to e.g. my entire filesystem; a PWA would get me the nice UI, notifications, etc of a native app while still keeping them in their sandbox.

1 comments

The problem is that those apps are often Electron because they can't be done as a pure browser app. If the browser doesn't expose some system API then what do you want to do?