Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

The refactor in a55417a changed from using dynamic import() inside
app.whenReady() to using require() at module load time. This broke
React DevTools because electron-devtools-installer accesses Electron
APIs that aren't available until the app is ready.

Reverted to the working approach from commit 1e08943 that uses
await import() inside the app.whenReady() handler.

Generated with mux

The refactor in a55417a changed from using dynamic import() inside
app.whenReady() to using require() at module load time. This broke
React DevTools because electron-devtools-installer accesses Electron
APIs that aren't available until the app is ready.

Reverted to the working approach from commit 1e08943 that uses
await import() inside the app.whenReady() handler.

_Generated with `mux`_
@ammar-agent ammar-agent force-pushed the react-devtools-regression branch from f1ee3eb to cfa1af9 Compare November 24, 2025 00:40
@ammario ammario merged commit 6eaa7b6 into main Nov 24, 2025
16 checks passed
@ammario ammario deleted the react-devtools-regression branch November 24, 2025 01:16
ammar-agent added a commit that referenced this pull request Nov 24, 2025
The refactor in a55417a changed from using dynamic import() inside 
app.whenReady() to using require() at module load time. This broke 
React DevTools because electron-devtools-installer accesses Electron 
APIs that aren't available until the app is ready.

Reverted to the working approach from commit 1e08943 that uses
await import() inside the app.whenReady() handler.

_Generated with `mux`_
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.

2 participants