A Renderer process can also be terminated from the Main process by destroying its "BrowserWindow" instance.If one Renderer process has terminated then, it won't affect another Renderer process. Each renderer process is isolated and only cares about rendering the web page.There could be one or more Renderer process and each process will host a chromium instance and is responsible for rendering the web pages.When a BrowserWindow instance is destroyed, the corresponding renderer process is also terminated. Each "BrowserWindow" instance runs the web page in its own renderer process. The Main process creates web pages by creating the "BrowserWindow" instances.The Main process can create and manage more than one renderer process.It is responsible for window management and all interactions with the OS and also it creates the GUI of your application.It is the entry point of the electron application.
Electron works with two types of processes which are,.NodeJS: It is responsible for interacting with the OS.Chromium Browser: It is responsible for displaying the web pages.The Electron is built with below main components which are,.Some examples of popular desktop applications which is built by Electron are Visual Studio Code, Slack, Microsoft Teams, Facebook Messenger, Github Desktop, Atom, and Figma.So developers can wrap their web applications with Electron to produce desktop applications and generate installers for Windows, macOS, and Linux platforms. The Electron is a GUI framework that uses a combination of Chromium(the open-source version of the Google Chrome browser) and the Node.js JavaScript runtime.An Electron is an open-source framework that is used to create a desktop application with web technologies like HTML, CSS, and Javascript for all platforms (Windows, Linux, macOS).
#Slack desktop app multiple processes how to#
In this article, we are going to explore what is electron and how to create an electron application. How it is possible? Yes, we can build the desktop application using Electron.js. You can build desktop applications using HTML, CSS, and JavaScript.
If you like and are familiar with web application development andĀ if you want to develop a kind of desktop application then no need to learn new languages for building desktop applications.