You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. There is a breaking change for Vue 2 -> Vue 3 that had me for almost 1 full day to find the root cause. And it is not mentioned in the migration guide.
Running the app and changing the input you can see the order in which the console.logs are called are different. This is what happens in Vue 2 app:
callback called
watch called
and this is what happens in Vue 3 app:
watch called
callback called
I think it is important to note about it, because it can have an effect on applications too (rather that only interfering with libraries). And with more complicated use cases (read "legacy code") this can lead to long hours of debugging. (took me 1 day or so to find about it, because it led to a bug in our application)
The text was updated successfully, but these errors were encountered:
Hi. There is a breaking change for Vue 2 -> Vue 3 that had me for almost 1 full day to find the root cause. And it is not mentioned in the migration guide.
This example:
Running the app and changing the input you can see the order in which the console.logs are called are different. This is what happens in Vue 2 app:
and this is what happens in Vue 3 app:
I think it is important to note about it, because it can have an effect on applications too (rather that only interfering with libraries). And with more complicated use cases (read "legacy code") this can lead to long hours of debugging. (took me 1 day or so to find about it, because it led to a bug in our application)
The text was updated successfully, but these errors were encountered: