Memory leak during routing switch
Version
3.1.2
Reproduction link
https://github.com/wukang0718/vue3-memory
Steps to reproduce
1, project execution npm run serve
2. Click the button to switch the route continuously
3. Found that JS Heap
and DOM Nodes
are not reduced
What is expected?
JS Heap
and DOM Nodes
reduced
What is actually happening?
JS Heap
and DOM Nodes
are not reduced
No idea if related in any way but I have a memory leak problem were each route sticks in memory on first visit.
Reproduction: https://github.com/MarMun/vue-memleak
Maybe it helps.