action-cable-react icon indicating copy to clipboard operation
action-cable-react copied to clipboard

Use Rails 5 ActionCable channels with React for realtime magic.

Results 5 action-cable-react issues
Sort by recently updated
recently updated
newest added

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

### Description We have React-Native app built for both IOS and Android. The websocket works well with IOS. But when we are testing in android, it always says `failed to...

Fix following [issue](https://github.com/schneidmaster/action-cable-react/issues/3).

How to include the mixins in ES6 React components? Can you provide an example please if possible?

Hi, you add listeners on componentDidMount. ``` coffee componentDidMount: -> cable = @props.cable or @context.cable @mounted = true for channel in channelNames if cable.channel(channel) cable.channel(channel).on 'connected', @handleConnected if @handleConnected? cable.channel(channel).on...