I have an application built in Electron JS, that uses React and websockets.
I\'m calling the server in a renderer thread with this code:
const host = \