-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined States #9
Comments
Most likely you have lost reference to the parent class. To fix this use this.yourFunction = this.yourFunction.bind(this); |
can you please help me to run this code directly from src folder. currently it is running from bundle.js |
@kwallace0906 how did you resolve this issue? any assistance please |
try accessing it with https |
@dondido I am |
ok just updated the branch.. can you pull in my changes and try again? |
same |
I added this chat app into another react web app of mine.
However, when navigating to the room creation the console gives the error:
"Uncaught TypeError: Cannot read property 'setState' of undefined
at Socket.eval (CommunicationContainer.js?41c1:40)
at Socket.Emitter.emit (index.js?7297:133)
at Socket.onevent (socket.js?2851:278)
at Socket.onpacket (socket.js?2851:236)
at Manager.eval (index.js?40de:21)
at Manager.Emitter.emit (index.js?7297:133)
at Manager.ondecoded (manager.js?78eb:345)
at Decoder.eval (index.js?40de:21)
at Decoder.Emitter.emit (index.js?7297:133)
at Decoder.add (index.js?568d:251)
"
What would be causing this?
The text was updated successfully, but these errors were encountered: