Hacker News new | past | comments | ask | show | jobs | submit login

Electron exists entirely because the web platform does not have access to lower level APIs. When the web incorporates these features (e.g. FileSystem Access), PWAs will replace electron.

Throw in "when Web Assembly can interact with the DOM and browser APIs" and you have the most powerful cross-language, cross-platform UI toolkit in existence.

It'll mark the year of the Linux desktop... probably, maybe - please.




100% of the web apps I currently use in the browser don't need these APIs to function (Twitter, Tidal, HN, YouTube, whatever really).


Can PWAs use multiple windows, native menu bars or context menus, etc? I would not call those APIs "low level."


Depends if the browser is based on Chrome, thus an extension of ChromeOS, or not.

https://web.dev/learn/pwa/windows

https://web.dev/app-like-pwas/

https://whatwebcando.today/


You’re right, and I actually think the web would benefit greatly from a native context menu API!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: