I am making an Electron + React app and I have a bug where this callback function is only executed once (the first time). Then never again.
Renderer process (I am trying