reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Move Electron Remote calls to ipcRender.invoke()

Open nwittwer opened this issue 6 years ago • 0 comments

(Depends on Electron 7.0) It is suggested to avoid using the remote module of Electron for security and performance issues. Electron 7.0 has some new functions to use instead.

  • https://electronjs.org/blog/electron-7-0
  • https://medium.com/@nornagon/electrons-remote-module-considered-harmful-70d69500f31

  • [ ] Replace all remote calls with @electron/remote
  • [ ] Standardize a way to organize communications between main and renderer process (IPC)
  • [ ] Refactor requests like remote.app.name and remote.app.version so that this data is available when the app loads. Maybe store this info in Vuex Store?

nwittwer avatar Oct 27 '19 11:10 nwittwer