Skip to content

chore: Drop Electron support#166

Merged
andykog merged 1 commit into
masterfrom
drop-electron
Jun 16, 2026
Merged

chore: Drop Electron support#166
andykog merged 1 commit into
masterfrom
drop-electron

Conversation

@andykog

@andykog andykog commented Jun 16, 2026

Copy link
Copy Markdown
Member

Electron's extension loader doesn't support content_scripts with
world: "MAIN" (MV3), so the MobX hook is never injected into the
page context. This has been broken since the MV3 migration.

A proper Electron integration would require a standalone package
that embeds a WebSocket-based backend directly into the app,
bypassing browser extension APIs entirely. This can be implemented
in the future if Electron users request the feature.

Remove the Electron app shell (packages/mobx-devtools/app/,
bin.js), playground Electron setup, and Electron-specific
workarounds in background.js.

Electron's extension loader doesn't support content_scripts with
world: "MAIN" (MV3), so the MobX hook is never injected into the
page context. This has been broken since the MV3 migration.

A proper Electron integration would require a standalone package
that embeds a WebSocket-based backend directly into the app,
bypassing browser extension APIs entirely. This can be implemented
in the future if Electron users request the feature.

Remove the Electron app shell (packages/mobx-devtools/app/,
bin.js), playground Electron setup, and Electron-specific
workarounds in background.js.
@andykog andykog self-assigned this Jun 16, 2026
@andykog andykog marked this pull request as ready for review June 16, 2026 15:45
@andykog andykog merged commit 017f595 into master Jun 16, 2026
1 check passed
@andykog andykog deleted the drop-electron branch June 16, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant