Please who has worked with electron in react project | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Please who has worked with electron in react project

I build a react electron project which worked fine in development, but after building the app to executable windows app, the application window opens but does not display the content of the app

7th Sep 2021, 2:38 PM
Nathaniel Ohiare
Nathaniel Ohiare - avatar
2 Answers
+ 2
Edit the file that is specified in the Electron program. If this does not help, then reinstall the library. Library documentation: https://www.electronjs.org/docs.
17th Sep 2021, 7:54 AM
Wynne
Wynne - avatar
0
Thanks solved It was issue with the conditional rendering that loads the electron app in development and in production
13th Oct 2021, 6:15 AM
Nathaniel Ohiare
Nathaniel Ohiare - avatar