SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Bump Electron to 39.0.0 (#55395)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55395

Upgrade from Electron 37.x → 39.x , which includes compiling for macOS 26.

Changelog: [Internal]

**Breaking changes from Electron 37.2.6 → 39.0.0:**

**Electron 38.0.0**
- Removed `ELECTRON_OZONE_PLATFORM_HINT` env var
- Removed `ORIGINAL_XDG_CURRENT_DESKTOP` env var
- Removed macOS 11 support (minimum now macOS 12)
- Removed `plugin-crashed` event from webContents
- Deprecated `webFrame.routingId` (use `frameToken`)
- Deprecated `webFrame.findFrameByRoutingId()` (use `findFrameByToken()`)
- Linux now defaults to Wayland (force X11 with `--ozone-platform=x11`)

**Electron 39.0.0**
- Deprecated `--host-rules` flag (use `--host-resolver-rules`)
- `window.open` popups now always resizable (WHATWG spec)
- Shared texture OSR `paint` event structure changed

Reviewed By: motiz88

Differential Revision: D92154326

fbshipit-source-id: 4e7399107bfcaf5592f6d873a36d09369804f605
A
Alex Hunt committed
96c97e08b12c95ffa647d696c5ef7f9500a3e5d8
Parent: 978d5a2
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 2/4/2026, 7:46:28 PM