keep-alive calls unmount a component when I change a page but does not call mount when I return back
Vue version
3.2.13
Link to minimal reproduction
https://github.com/dxvladislavvolkov/keepalive
Steps to reproduce
npm i npm run dev Click on page 1 then page 3 (you will see mounted text in the console ) then page 4 (you will see unmounted in the console) then page 3 - the component doesn't call mounеed even though the unmounted hook was called
We have a problem with devextreme-vue components because they clean all content on the unmounted hook. And components need mounted hook to be called
What is expected?
not call unmounted or call mounted after unmounted
What is actually happening?
components empty. they removed by vue
System Info
No response
Any additional comments?
No response