Question about 'window on will-navigate'


#1

Does window.on(‘will-navigate’) from main process not really run on renderer process?


#2

As far as I know, all of the browser API calls have to be done from actual browser windows (AKA renderer processes). If you want your app to coordinate changes across multiple windows when one navigates, you’ll have to use IPC to send messages between them.