Use Perform in OnConnected
tooleyantoine opened this issue · 1 comments
tooleyantoine commented
Hi,
I can't seem to work this out but I'd like to use the perform function or this.cable.perform in the onConnected call.
Any help with this would be highly appreciated.
Thanks
tooleyantoine commented
Figure it out in the end.
Using refs allows you to access the perform function inside OnConnected via this.refs.yourChannel.perform.
Thanks