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
Description of the bug
Hi, thank you very much for creating this library and this seemed like a very easy to integrate library for vue3 applications.
However, I am getting the following warning from vue3 after using this library. This is probably due to not using the deep option in the watch functions:
[Vue warn]: (deprecation WATCH_ARRAY) "watch" option or vm.$watch on an array value will no longer
trigger on array mutation unless the "deep" option is specified.
If current usage is intended, you can disable the compat behavior and suppress this warning with:
configureCompat({ WATCH_ARRAY: false })
Details: https://v3-migration.vuejs.org/breaking-changes/watch.html
at <MyTable is-static-mode=true is-slot-mode=true columns= (3) [{…}, {…}, {…}]
... >
Additional context
This warning usually doesn't show up in the console while using vue3 but since I'm using the vue-migration build (@vue/compat) it is showing this warning. You can find the details on the warning here: https://v3-migration.vuejs.org/breaking-changes/watch.html
I looked into the watch function in Popper.vue component of your library and found that the watch function that is used for watching [hasContent, disabled], ([hasContent, disabled] is an array on line263. So it is recommended by vue3 to use deep:true option or else it will not trigger re-rendering on mutation of the array.
The text was updated successfully, but these errors were encountered:
Description of the bug
Hi, thank you very much for creating this library and this seemed like a very easy to integrate library for vue3 applications.
However, I am getting the following warning from vue3 after using this library. This is probably due to not using the
deep
option in the watch functions:Additional context
This warning usually doesn't show up in the console while using vue3 but since I'm using the vue-migration build (@vue/compat) it is showing this warning. You can find the details on the warning here:
https://v3-migration.vuejs.org/breaking-changes/watch.html
I looked into the watch function in
Popper.vue
component of your library and found that the watch function that is used for watching[hasContent, disabled], ([hasContent, disabled]
is an array on line263. So it is recommended by vue3 to usedeep:true
option or else it will not trigger re-rendering on mutation of the array.The text was updated successfully, but these errors were encountered: