3 ms·
> should instead just ship a local HTTP server and a Node.JS runtime, and native libraries to support menubars, system trays, dialogs that support folder selec
by mceachen 6y ago
> should instead just ship a local HTTP server
and a Node.JS runtime, and native libraries to support menubars, system trays, dialogs that support folder selections, native drag and drop for all file types, ...
I agree, though: if the electron app doesn't need any of these things, it really shouldn't pull in the entire electron runtime.
- modeless 6y agoNode is a lot smaller than Chromium. Even if the app does want some of the other things you list, it's possible to do all of them from the server, and it'll remain a fraction of the size of Electron.
- 0df8dkdf 6y agoyeah just use Chromium as the GUI interface and do everything else in node. Come on! Someone goto have alredy done this, no?