Skip to content
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

Cannot read property 'received' of undefined #3

Open
viktortsarevskiy opened this issue Sep 27, 2016 · 4 comments
Open

Cannot read property 'received' of undefined #3

viktortsarevskiy opened this issue Sep 27, 2016 · 4 comments

Comments

@viktortsarevskiy
Copy link

viktortsarevskiy commented Sep 27, 2016

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

@piotrgorecki
Copy link

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!

@schneidmaster
Copy link
Owner

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!

@tommyalvarez
Copy link

tommyalvarez commented Mar 29, 2017

+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

@fedealconada fedealconada mentioned this issue May 1, 2017
@kesha-antonov
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants