Open DimaGashko opened 5 years ago
So nothing is happening here? Did you manage to solve this thing?
I am also having trouble with this problem. For example, I would like to know a technique to destroy a component when it is hidden. Thank you.
I am also having trouble with this problem. For example, I would like to know a technique to destroy a component when it is hidden. Thank you.
This is because the dependency particles.js
has a memory leak (source), and both projects seems abandoned. I switched to particles.vue some time ago and the issue is solved there.
Thanks for this vue plugin. It's helpful, but can you fix memory (and performance) leaks? When it's used in landing page everything is good, but if there's a router...
In fact, https://github.com/creotip/vue-particles/issues/20 fix performance problem, but it still has too many EventListeners on window.
(I know, it's not your error, it's vanilla particles.js has too many errors and anti-patterns)