Stack · Web

Electron — desktop apps for macOS, Windows & Linux

EcosystemElectron

Electron is how I ship desktop apps — one codebase producing macOS, Windows and Linux builds, with the same React knowledge that goes into the web work.

Why I use it

When a tool needs the filesystem, a tray icon or a global shortcut, the browser can't help you and a native rewrite per platform is rarely worth it. Electron's cost is memory and bundle size, and that's a fair criticism. The part people get wrong is the security model: context isolation on, node integration off in the renderer, and a preload script exposing a narrow typed API over IPC. Skip that and a rendered web page is one XSS away from the user's disk.

What I've built with it

  • Desktop tools packaged and code-signed for macOS, Windows and Linux from a single codebase
  • Main and renderer processes kept properly separated, with context isolation on and privileged work behind a typed IPC surface
  • Native integrations the web can't reach — filesystem access, tray icons, global shortcuts, auto-update

Alongside

ReactTypeScriptNode.jsDesktopIPC

Rest of the stack

Got a project that needs Electron?

Get in touch →