Electron IPC Communication Explained with Real Examples
Electron is one of the most popular frameworks for building cross-platform desktop applications using web technologies like HTML, CSS, and JavaScript. Under the hood, Electron runs a multi-process architecture consisting of a Main Process (running Node.js) and one or more Renderer Processes (running Chromium to render the UI).
Because of security risks, modern Electron applications isolate the Renderer Process from the operating system. This means you cannot access Node.js modules or system resources (like reading files or querying databases) directly from the Renderer UI.
Electron
IPC
Node.js
Desktop Apps
JavaScript