Electron + React

Desktop apps built with Electron and React: Chromium and Node.js bundled together so web UI code ships as a Windows, macOS and Linux app.

  • ElectronElectron
  • ReactReact
  • Node.jsNode.js
  • TypeScriptTypeScript
Learning curve
Moderate
Status
Actively developed
Reviewed
November 2026
Best for
  • Web teams shipping a desktop version of an existing React product
  • Developer tools, editors and chat or collaboration clients
  • Apps that need Node.js, npm packages and native addons on the desktop
  • Products that need identical rendering on Windows, macOS and Linux
Not ideal for
  • Small tray utility or menu-bar app
  • App for low-spec or kiosk hardware

Overview

Electron packages a Chromium renderer and a Node.js runtime into a desktop app, so a React UI built with standard web tooling can ship to Windows, macOS and Linux. A Node.js main process owns windows, menus, the file system and OS integration, while React runs in sandboxed renderer processes and reaches it over IPC. It is the most proven route for web teams building desktop software, at the cost of large installers and high memory use.

What's inside

Web developers are productive quickly. The new concepts are the main, renderer and preload process model, IPC design, Electron's security settings, and the packaging, signing and auto-update pipeline for each operating system.

  • React

    React

    Frontend

    Builds the interface people see and use

    Learning: Moderate

    Status: Active

  • Electron

    Electron

    Runtime

    Runs the code on the server or device

    Learning: Moderate

    Status: Active

  • Node.js

    Node.js

    Runtime

    Runs the code on the server or device

    Learning: Easy

    Status: Active

  • TypeScript

    TypeScript

    Language

    The language the code is written in

    Learning: Moderate

    Status: Active

How it works

The main process creates BrowserWindows that load the React bundle into Chromium renderers. A preload script exposes a narrow API through contextBridge, and renderer calls travel over IPC to the main process for privileged work.

  1. 1.

    Runtime to frontend

    On launch, the Electron main process creates a BrowserWindow with context isolation and sandboxing enabled and loads the Vite- or webpack-built React bundle.

  2. 2.

    Frontend to runtime

    React components call functions the preload script exposes through contextBridge (for example window.api.saveFile), which forward to ipcRenderer.invoke.

  3. 3.

    Runtime to runtime

    The main process handles the call in ipcMain.handle using Node.js APIs or native addons (file system, child processes, SQLite, OS keychain) and returns the result to the renderer.

  4. 4.

    Runtime to infrastructure

    Electron Forge or electron-builder packages the app per OS, code-signs and notarises it, and publishes artifacts that autoUpdater or electron-updater fetch for background updates.

Strengths and drawbacks

Strengths

  • Same chromium everywhere

    Every user runs the bundled Chromium version, so CSS, Web APIs and rendering behave identically on Windows, macOS and Linux, with no system-webview quirks to test for.

  • Full Node.js on the desktop

    The main process can use any npm package or native Node addon, spawn processes and access the file system, which makes file-heavy and developer-tool apps straightforward.

  • Proven at large scale

    Visual Studio Code is built on Electron, and mature tooling covers packaging, signing, auto-update and crash reporting for apps with very large codebases.

  • Reuse of web code and skills

    React components, state libraries and design systems from the web app can be shared, and web developers become productive without learning a new UI framework.

Drawbacks

  • Large installers and memory use

    Each app ships its own Chromium and Node.js, so even trivial apps have installers tens of megabytes in size and idle memory use well above native or system-webview apps.

  • Security is your responsibility

    Exposing Node.js to untrusted content leads to remote code execution; keep nodeIntegration off, context isolation and sandboxing on, set a strict CSP, and validate every IPC message.

  • Fast release cadence

    Electron ships a new major version every eight weeks to track Chromium and supports only the latest three, so apps must upgrade regularly to keep receiving security fixes.

  • Native addons and signing friction

    Native Node addons must be rebuilt against Electron's ABI with @electron/rebuild, and macOS notarisation and Windows code-signing certificates add setup to every release pipeline.

Scores

Editorial ratings out of 10, comparable across every stack in the guide. They are judgement, not benchmarks. How we score

Speed of building
8.4 out of 10, catalog average 7.7

How quickly a team ships features

Ease of learning
7.4 out of 10, catalog average 7.2

Higher means easier to pick up

Scalability
6.6 out of 10, catalog average 7.6

How far it grows before a redesign

Performance
5.4 out of 10, catalog average 7.5

Speed of the running application

Maintainability
7.0 out of 10, catalog average 7.2

How well the codebase ages

Ecosystem
8.4 out of 10, catalog average 8.2

Libraries, hosting, docs and hiring

Flexibility
8.0 out of 10, catalog average 7.4

How many kinds of product it suits

How it scales

Electron apps scale to very large codebases and user bases; the limits are per-machine memory and start-up time, managed by moving work into separate processes.

Starting outMVP and first users
A single-window app from an Electron Forge Vite + TypeScript template, local data in JSON files or SQLite, and GitHub Releases for downloads and updates.
GrowingReal traffic, a few engineers
A typed IPC layer shared between main and preload, Zustand or TanStack Query in the renderer, CI building signed installers for all three OSes, and auto-updates via electron-updater.
LargeHeavy traffic or data
Heavy work moved to utility processes or worker threads, multiple windows coordinating through the main process, crash reporting, and separate beta and stable update channels.
EnterpriseMany teams and regions
MSI and PKG installers for managed fleets, updates served from a corporate update server, Electron fuses hardened, and React packages shared with the web product in a monorepo.

Where it fits

Common projects, from best fit to worst.

  • Desktop client for an existing SaaS web app

    Most of the React UI is reused, and Electron adds notifications, tray icons, deep links and offline storage.

    Great fit

  • Developer tools and editors

    Node.js access to files, terminals and child processes plus a predictable Chromium makes complex tooling practical.

    Great fit

  • App for low-spec or kiosk hardware

    It works, but Chromium's memory footprint and start-up time are noticeable on constrained machines.

    Workable

  • Small tray utility or menu-bar app

    Shipping a full browser engine for a tiny utility wastes disk and memory; Tauri or native code fits better.

    Poor fit

Alternatives

Similar stacks, and when you would choose them instead.

Sources

Reviewed on November 19, 2026 against the documentation below. Found something out of date? Suggest a correction. Read our methodology.

Stacks that share technologies with Electron + React.