Slack

Building Hybrid Applications with Electron

Oct 25, 2016
Building Hybrid Applications with Electron
SummaryAI, from the source post

This post details the migration of the Slack desktop application for macOS to Electron, replacing the older MacGap framework. It explains the hybrid approach to building the application, where some assets are shipped with the app and others are loaded remotely. The post covers the technology stack (React, ES6, TypeScript), Chromium's multi-process model for isolating teams, the use of the WebView element with preload scripts for security boundaries, and the electron-remote library for efficient inter-process communication. It also lists several open-source libraries developed as part of this effort.

More from the Electron App Sandboxing trail