oldSub[2] is not a function
Author: carbonirisCreated Jan 18, 2023Updated May 6, 2023
Labelsbug
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
Source: hyperapp/hyperapp