[Vuejs]-Is it a memory leak of Vue.js?

3👍

Did a bit of research in a sandbox in both – Chrome and Firefox, there are definitely new Canvas elements being created, however they are properly removed after some time – when Garbage Collector collects them (you can force FF to do it from about:memory page). Can’t reproduce the leak longer than 20-30 seconds.

As far as I know, Vue doesn’t reuse the v-if elements, it is always recreated. So may be try with v-show instead?

Leave a comment