Skip to content
Advertisement

Tag: keep-alive

vue js cant understand keep alive

I’m doing tests with this code: https://jsfiddle.net/b2qj69o1/25/ And the js part I did the alert() test to see whether vue will re-render the component. I see that with or without wraping <component> with <keep-alive>, the alert() if called only the first time I enter the Home tab. So I have two questions: 1. What exactly keep-alive does? cause it seems

Advertisement