Electron

Electron is an open source, crossplatform application framework. Software developers can use Electron to create apps using a mix of web technologies like HTML, CSS, and JavaScript instead of platform-specific programming languages. Since it's a crossplatform framework, developers can create apps for Windows, macOS, and Linux using a single codebase.

The Electron framework is built upon two open source software packages — Chromium and Node.js. Chromium is a browser engine (also used by web browsers like Google Chrome and Microsoft Edge) that renders an app's user interface. Node.js is a JavaScript runtime environment that executes JavaScript code and provides a direct interface with system APIs. Since Chromium and Node.js themselves are crossplatform, they provide app developers with a way to write their apps once using HTML, CSS, and JavaScript.

While Electron can help make app development easier, its use does have some downsides. Since every Electron app needs to include both the full Chromium and Node.js packages in the executable file, they require more storage space and memory than a native app. These requirements increase if you run multiple Electron apps, since each app includes its own copy of Chromium and Node.js. Additionally, security updates to Chromium might not make it to an Electron app promptly, potentially leaving it vulnerable to exploits already discovered and patched in the full web browser.

NOTE: Popular apps built using Electron include Microsoft Teams, Slack, Trello, Discord, and Visual Studio Code.

Updated May 25, 2023 by Brian P.

quizTest Your Knowledge

A missing semicolon in source code is an example of what type of error?

A
Logic error
0%
B
Syntax error
0%
C
Runtime error
0%
D
Linking error
0%
Correct! Incorrect!     View the Syntax Error definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Electron on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.