forked from schneidmaster/action-cable-react
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Example Implementation for React-Native/Rails/GraphQl/Apollo #5
Comments
@ccfz awesome! Thank you! |
Closed
This worked for us too, thanks @ccfz! |
Thank you @ccfz, this is awesome. Without this, my subscriptions weren't initially connecting without triggering a refresh or navigation in RN. Very strange. |
Solution still working in 2022. Thanks a lot! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We did not find any solutions for our stack React-Native/Rails/GraphQl/Apollo and specifically had problems creating an ActionCable that connected properly with GraphQL subscriptions. The solution was a combination of this very nice package (thanks @kesha-antonov!!) and adjusting graphql-ruby ActionCableLink to work with the interface of
react-native-action-cable
. In case anyone else is having trouble with this stack I thought it might be nice to see a working example. Maybe in the README or example folder etc.index.js
adjusted ActionCableLink.js
The text was updated successfully, but these errors were encountered: