19.2 Electron
The second popular framework for creating desktop applications in JavaScript is Electron (https://electron.atom.io/). Electron was originally used by GitHub as part of the development of the Atom code editor, but it was made available to the public as a separate framework in 2013.
In principle, Electron is similar to NW.js. No wonder—one of the original developers of NW.js, who previously worked at Intel, now continues to develop Electron for GitHub. Still, there is a key difference between NW.js and Electron that is important for developers to understand: while Node.js and WebKit share a single JavaScript context in NW.js, there are multiple contexts in Electron—one for the background process that controls the application, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access