communication between 2 browser windows in electron
问题 I need to build an app that will span across multiple monitor screens, something like this: Electron suports multiple windows but how to comunicate between them? 回答1: The main thing to remember is that in Electron, interProcess communication is done by ipcMain (in the main process) and ipcRenderer(in all the created windows). Like below: From what i've seen in the GitHub comments - direct communication between the Renderer instances is not allowed. Everything must pass trough the mainProcess.