Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Advice
0 votes
0 replies
50 views

I need a quick suggestion from you guys, I am currently working on a react + electron desktop application. In that i need to automate messages from that app to whatsapp. Is there any suggestions. I ...
-2 votes
0 answers
53 views

I have an Electron + React + TypeScript desktop app. After navigating between views (via conditional rendering, not React Router), a search input becomes unresponsive to keyboard input. Clicking ...
0 votes
0 answers
68 views

I am building a desktop application using Electron.js with a React frontend and a Go (Fiber) backend. During development (npm run dev), everything works perfectly. However, I am facing an issue when ...
Best practices
1 vote
1 replies
74 views

Most examples for how to write the contextBridge.exposeInMainWorld message handling in Electron's preload.js script list one specific function name for each message, e.g. openFile. I find it more ...
-2 votes
1 answer
84 views

The code example below for a main.js Electron file successfully changes the item label of the one item in menu Menu upon item click, but not its checked status when run in Electron Fiddle. As can be ...
0 votes
0 answers
378 views

I have a problem with Electron start in my VS Code. By following installation guide I install the electron but have a problem with first start. When I trying to run npm run dev:electron I've got that ...
0 votes
0 answers
87 views

I use electron to convert my python-flask web application into a Desktop application. As installer, I use NSIS electron builder with a custom nsis script for the customer details page. The issue is ...
-1 votes
0 answers
120 views

I am working on an Electron app which uses, among others, the simple-git module. My part of the project consists of making a program that builds a tree diagram where each node represents a commit, ...
1 vote
1 answer
70 views

I'm new to Electron, I'm learning how IPC works. Let me show you my code: preload.js import { contextBridge, ipcRenderer } from 'electron' contextBridge.exposeInMainWorld('myApi', { performAction(...
Advice
0 votes
1 replies
69 views

When I working on a project that requires multiple windows, I use the BrowserWindow() method of Electron for doing this. My code of making the windows: const { app, BrowserWindow, screen, ipcMain} = ...
2 votes
0 answers
88 views

I am building a desktop application using: Electron ^28.0.0 electron-builder ^24.9.0 Prisma ^5.8.0 Vue 3 + TypeScript During development (electron .) everything works correctly. However, after ...
Best practices
0 votes
0 replies
45 views

I would like to create an npm library for a base electron client where consumer projects use the same shared main process/renderer/preload. And currently exposing a defineConfigs function that ...
-1 votes
1 answer
162 views

I'm using the koffi library to call Win32 APIs from TypeScript. However, I'm stuck at the very first step: FindWindowW consistently returns 0 (NULL), indicating that the Progman window cannot be found....
1 vote
0 answers
92 views

I am working on an Electron project with node-api (for C++ addons). The app crashes, even after a full-build. The problem that I am facing occurs within the C++ template addon that I have made. I have ...
2 votes
0 answers
99 views

I've been trying to reimplement electron-click-drag-plugin for the needs of my Electron app. But I hit a hard wall when implementing it for X11. I've successfully sent the EWMH event, but it doesn't ...

15 30 50 per page
1
2 3 4 5
1019