As of electron v10, enableRemoteMoudle is set to false by default, and I had to enable it for this library.
And from v12, remote module was deprecated for security reason and it started to show warning message on devTools console.
I found that getInitialStateRenderer is using remote.getGlobal so I substitute ipcRenderer.sendSync to it.
@victorhqc Can this be merged and published soon? I know there's version 2, but it's still technically in alpha stage and Electron is already at version 17, 3 versions after the remote module was removed.
As of electron v10, enableRemoteMoudle is set to false by default, and I had to enable it for this library. And from v12, remote module was deprecated for security reason and it started to show warning message on devTools console. I found that getInitialStateRenderer is using remote.getGlobal so I substitute ipcRenderer.sendSync to it.