Is your feature request related to a problem? Please describe.
I want to use methods from the component inside the channel events, such as the connected event, but it says that this is undefined.
Describe the solution you'd like
Be able to access my component's methods.
Describe alternatives you've considered
I haven't come up to anything yet.
Sorry, I was using the notation connected: async () => instead of async connected(), because it worked with official version of ActionCable, but it's all good ;)
Is your feature request related to a problem? Please describe. I want to use methods from the component inside the channel events, such as the
connected
event, but it says thatthis
is undefined.Describe the solution you'd like Be able to access my component's methods.
Describe alternatives you've considered I haven't come up to anything yet.