Blocker for electron/fiddle#1114
For migrating the Node APIs from the renderer process to the main process, the IPCRenderer API is to be moved to preload scripts and then exposed in the renderer process via the contextBridge API.
The below diagram explains it better -
