In this tutorial I go more in-depth into ipcRenderer and show you all the different communication methods that you have available.
How to send a message to the main process (ipcMain) and how to get a response from there.
Watch this video to learn how to work with ipcRenderer correctly in Electron JS.
Chapters
00:00 ipcRenderer Communication Commands
02:02 ipcRenderer.Send example
06:37 ipcRenderer.Invoke to get a response from Main
08:39 ipcRenderer.sendSync
11:06 Receiving messages
#electron
#programming
#electronjs