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
You can either clone repository(Link to minimal reproduction) or create app with vue-router and @vue/compat
What is expected?
"[Vue warn]: (deprecation WATCH_ARRAY)..." should be triggered only when the user code is "watching" an array in some of his components with the "watch" option
What is actually happening?
"[Vue warn]: (deprecation WATCH_ARRAY)" is triggered by the RouterView when user does not watch any arrays in his components with the "watch" option
I ran into this bug during migration from vue2 to vue3
The text was updated successfully, but these errors were encountered:
@posva We likely should add a compatConfig: { MODE: 3 } to RouterView and RouterLink to keep any such compar warnings from popping up for them - the router's own components don't need to run in compat mode, anyway.
That's true. It would be nice if they could be set without adding anything for v3 users.
Right now users can directly add the options while using @vue/compat:
Version
3.2.30
Reproduction link
github.com
Steps to reproduce
You can either clone repository(Link to minimal reproduction) or create app with vue-router and @vue/compat
What is expected?
"[Vue warn]: (deprecation WATCH_ARRAY)..." should be triggered only when the user code is "watching" an array in some of his components with the "watch" option
What is actually happening?
"[Vue warn]: (deprecation WATCH_ARRAY)" is triggered by the RouterView when user does not watch any arrays in his components with the "watch" option
I ran into this bug during migration from vue2 to vue3
The text was updated successfully, but these errors were encountered: