skype-clone icon indicating copy to clipboard operation
skype-clone copied to clipboard

Fix the hack on App.js

Open aemal opened this issue 7 years ago • 0 comments

On the componentDidMount() there is a function call like:

//FIXME: this is a hack, try to bind socket.io properly with "this"
    this.chatMessageHandler(this);

It was a quick solution to the issue of not being able to bind this keyword with socket.io

aemal avatar Feb 12 '18 15:02 aemal