complexdatacollective / Server

A tool for storing, analyzing, and exporting Network Canvas interview data.
http://networkcanvas.com/
GNU General Public License v3.0
2 stars 2 forks source link

Replace use of electron.remote with ipcRenderer.invoke #282

Closed jthrilly closed 2 years ago

jthrilly commented 4 years ago

We use electron remote in several places in the app, which has significant drawbacks: https://medium.com/@nornagon/electrons-remote-module-considered-harmful-70d69500f31

We should update primary IPC calls and use of electron.remote to use handle and invoke: https://github.com/electron/electron/blob/v7.0.0-beta.4/docs/api/ipc-renderer.md#ipcrendererinvokechannel-args

jthrilly commented 2 years ago

Closing as this work will now be carried out within the Fresco project: https://github.com/orgs/complexdatacollective/projects/10