-
Notifications
You must be signed in to change notification settings - Fork 781
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
oldSub[2] is not a function #1105
Comments
https://github.com/IamCarbonMan/pokegotchi code is here. a bit messy and written in coffeescript but as far as I can tell everything meets the docs |
I cannot read coffeescript, but I guess this would be the same issue I run into when using subscriptions. see line 59 in Lines 48 to 59 in c3717e3
in may case my issue was caused by using one-liner. this is failing
while this works perfectly fine
I am curious if changing the line 59 like this would be the fix?
|
If you'd like, feel free to send over a patch along with a test script. If you need a hand with writing the test, just let me know and I'll be happy to help you out or show you how to get started. I hope that makes sense. |
when stopping a subscription- by &&ing it with a falsy state value in app()- and then restarting it, I get an error "oldSub[2] is not a function". It looks like it's trying to call the 3rd element of the subscription array but according to the docs a subscription array only has 2 elements
The text was updated successfully, but these errors were encountered: