Closed mdcarreira closed 2 years ago
Hello @mdcarreira it's quite possible the library is incompatible with vue 2.7. For a long time the situation was that in case of Vue 2 I had to require the @vue/composition-api module.
I had a lot of issues making the lib compatible with both Vue 3 and Vue 2. This actually makes it easier.
I think I'll support only Vue 2.7 in new version of vue-concurrency. But I'm swarmed with work, not sure if I can manage to do it in this or next week.
Hey @MartinMalinda, thanks for the fast reply!
Yeah, I understand. If I knew more about vue, I might try to give you a helping hand and make a PR. But unfortunately I'm a vue noob...
I'll keep watching your repo and crossing my fingers that you will find the time to look into it :)
@MartinMalinda, by any chance have you managed to look into this or plan to look into it soon?
Sorry for being insistent, but we've come into a point where we cannot upgrade to vue 3, neither want to downgrade back to vue < 2.7... So if you are not planning to update vue-concurrency
to support vue 2.7, we will need to find an alternative solution :(
hi @mdcarreira, yes I gave it a try and unfortunately vue-concurrency
does not run well in 2.7. Seems like the reactivity implementation there is different from the previous @vue/composition-api
module because I'm seeing errors I haven't seen before with Vue 2.
I suspect this has something to do with its reactive
implementation and maybe the errors point out some problems within my code, but I don't have time in the nearby future to refactor the lib:(
To be more precise, using a task leads to RangeError: Maximum call stack size exceeded
. Seems like I'm not alone:
https://github.com/vuejs/vue/issues/12750
Argh, that's a shame... Thanks for letting me know the current state of things!
Is this fixed in the latest 2.7 release? I noticed there is handful of reactivity changes.
@Hawxy I just tried and yes, unfortunately
yes, unfortunately it's fixed? Why is that unfortunate?
A too quick answer from me, sorry. I mean the error is unfortunately still present. It's still going in infinite loop.
After upgrading to
vue:2.7
, which has composition-api built in, I started getting this compilation error when running my app:Is there anything I'm missing to make this work? Or is
vue-concurrency
incompatible withvue:2.7
?