kesha-antonov/react-native-action-cable

clarification on example in the README

jcohenho opened this issue · 2 comments

Thank you for this library! I have a question about the example in the README. How are you passing the the chatID and userID from the Rails app when setting the channel name in chat_${chatId}_${userId}?

just fetch the data somehow. for instance: make an API server in order to collect it so, then make a connection to your ws.

just fetch the data somehow. for instance: make an API server in order to collect it so, then make a connection to your ws.

This suggestion is correct.