-
Notifications
You must be signed in to change notification settings - Fork 37
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
vue 3 - channel callback contexts are broken due to relying on vm._uid #49
Comments
This is happening in Vue 3.x, yes? @tjk |
Yes, discovered this when I worked on a vue 3 migration. We've since started using |
having same issue - vue3 with action cable subscribing multiple times in different components causing issue. Any pointers how to resolve this? |
Can confirm problem! |
Can also confirm the problem happens in Vue 3 This seems to work for me at the moment (thanks @tjk / @phlegx), you can also use Haven't tried it in production yet, but if any confirmed related issues arise I'll be posting them here |
Fixed in |
With multiple subscribed channels mounted at the same time, the contexts object (and other stuff) which relies on
context._uid
clashes which causes binding issues and maybe other things.This seems to work as a stopgap, wasn't sure the best approach in the library to use...
The text was updated successfully, but these errors were encountered: