framework icon indicating copy to clipboard operation
framework copied to clipboard

keep-alive calls unmount a component when I change a page but does not call mount when I return back

Open dxvladislavvolkov opened this issue 3 years ago • 2 comments

Environment

Nuxt Version: 3.0.0

Reproduction

https://github.com/dxvladislavvolkov/keepalive

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

Describe the bug

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

Additional context

No response

Logs

No response

dxvladislavvolkov avatar Nov 22 '22 05:11 dxvladislavvolkov