Re:Show HN: Electrico – Electron Without Node and Chrome (Ru...
by killcoder on Tuesday September 17, 2024 @08:00AM
(#41566741)
You don’t need IPC, you can either use a preload script to expose particular Node APIs in a secure manner or set ‘nodeIntegration‘ to ‘true’ to expose everything.
Source: https://www.electronjs.org/docs/latest/api/structures/web-pr...
But it is right that the ui for elwctron has to use a IPC layer to get a node backend running. However, chrome is moving a lot of things like FilesystemAPI into browsers so there may be a day were nodejs is dropped in favor of a sandboxed chromium.