Cannot read property 'received' of undefined
Something wrong happen when I try to use this module:
subscriptions.js?a0eb:1 Uncaught TypeError: Cannot read property 'received' of undefined
I use react v15.3.1
I also have the same problem.
Uncaught TypeError: Cannot read property 'received' of undefined
Connected!
Uncaught TypeError: Cannot read property 'received' of undefined
Uncaught TypeError: Cannot read property 'received' of undefined
Uncaught Error: Existing connection must be closed before opening
Disconnected!
Uncaught TypeError: Cannot read property 'received' of undefined
Connected!
Uncaught TypeError: Cannot read property 'received' of undefined
Uncaught Error: Existing connection must be closed before opening
Disconnected!
Sorry, I have not had time to upgrade the module for the latest Rails 5 and/or React versions -- I no longer use it with any of my projects. Feel free to track it down and submit a PR!
+1 Can anyone update and mantain this library? It's the only one out there which offers websocket implementation of action cable for react standalone apps (not integrated with rails via react-rails gem or something similar).
Edit: For anyone interested in similar functionality for more modern React versions i found this: https://github.com/cpunion/react-actioncable-provider
Hey guys! Consider using my fork: https://github.com/kesha-antonov/react-native-action-cable And also please mention it in the README
Seems like people love it