Can I use just IPC without running a server?


I want to create an electron app that solely uses IPC for communication between the main and renderer process. Is it possible to do this without running a server? Any gotchas I should be aware of?


You mean like using the built-in ipcMain and ipcRenderer libraries? Doing it without a server is the standard way.


Right! I’m still getting used to this electron environment I guess.
So when I first render the page, without a server, I’m guessing I could just call mainWindow.loadURL() with file:// instead of http://


Yes, see the quick start: