reflex
reflex copied to clipboard
Move Electron Remote calls to ipcRender.invoke()
(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
remotecalls with@electron/remote - [ ] Standardize a way to organize communications between main and renderer process (IPC)
- [ ] Refactor requests like
remote.app.nameandremote.app.versionso that this data is available when the app loads. Maybe store this info in Vuex Store?