Description
Version
4.5.6
Reproduction link
[no link](no link)
Environment info
linux Archlinux
pacman -Su done everyday, always running latest nodejs npm vue/cli
this issue occurred as latest update vue/cli to 4.5.6 is done
Steps to reproduce
Two Vuex store's modules are used - one for UI and one for Database to trigger component swap/refresh
before vue/cli 4.5.6 it was working fine, now the prop "reset" doesn't trigger reactivity (reset Vuetify slider).
Prop "reset" is used only in the JavaScript section of the component - inside "beforeUpdate" and "updated" component hook.
With vue/cli 4.5.6 if prop reset is added to the template the component behaves as before with reactivity.
Can you please explain why you removed reactivity
when props are used in JavaScript section only of a component?
Thanks
K.
keep-alive
component :is="getUIbz" :reset="og01Vdbreset" /component
/keep-alive
getUIbz: state => state.uibz.compbz[state.uibz.currbz]
og01Vdbreset: state => state.net.reset
What is expected?
Two Vuex store's modules are used - one for UI and one for Database to trigger component swap/refresh
before vue/cli 4.5.6 it was working fine, now the prop "reset" doesn't trigger reactivity (to reset Vuetify slider).
Prop "reset" is used only in the JavaScript section of the component - inside "beforeUpdate" and "updated" component hook.
With vue/cli 4.5.6 if prop reset is added to the template {{ reset }} the component behaves as before with reactivity.
keep-alive
component :is="getUIbz" :reset="og01Vdbreset" /component
/keep-alive
getUIbz: state => state.uibz.compbz[state.uibz.currbz]
og01Vdbreset: state => state.net.reset
What is actually happening?
Two Vuex store's modules are used - one for UI and one for Database to trigger component swap/refresh
before vue/cli 4.5.6 it was working fine, now the prop "reset" doesn't trigger reactivity (to reset Vuetify slider).
Prop "reset" is used only in the JavaScript section of the component - inside "beforeUpdate" and "updated" component hook.
With vue/cli 4.5.6 if prop reset is added to the template {{ reset }} the component behaves as before with reactivity.