react multiple socket api calls code example Example: react receiving socket muitple times socket.off('MY_EVENT').on('MY_EVENT', () => doThisOnlyOnce());