IPC vs getGlobal()


#1

In all my electron projects I’ve been using IPC to share data between the main and renderer threads but just found out about getGlobal().

Other than the fact that IPC is event based, is any of the two methods objectively better? Has anyone made any performance comparisons?


#2

I’d be interested in this as well. I currently use both because i would have a ridiculously exhaustive list of event handlers otherwise. So, in some instances I use getGlobal() instead