Hey guys… please anyone…
I have a use-case for
keep-alive where the condition on which I have to keep the component alive is based on user input.
As of now,
exclude props that check component name.
Is there any way I can
keep-alive components based on my condition?
I’m looking for something like following:
<keep-alive :if="myCondition"> <component v-bind:is="currentTabComponent"></component> </keep-alive>