I have a reset button which reset the state to the initial values. I need to rerender the component with currentTab is there any bet way to do it?
<button @click="resetData">reset</button>
<keep-alive>
    <component :is="currentTab"></component>
</keep-alive>
methods: 
resetData() {
    this.$store.dispatch('resetData')
    // re-render component based on the currentTab
    ??
}
currentTab I'm getting from the list of tabs:
tabs: [One, Two, Three]
 
    