vue-particles icon indicating copy to clipboard operation
vue-particles copied to clipboard

Particles, router and performance

Open DimaGashko opened this issue 5 years ago • 3 comments

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...

Screenshot from 2019-06-01 00-07-54

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)

DimaGashko avatar May 31 '19 21:05 DimaGashko

So nothing is happening here? Did you manage to solve this thing?

htfranek avatar Mar 14 '20 02:03 htfranek

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.

hirosciutto avatar Apr 14 '22 15:04 hirosciutto

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.

markwrightdev avatar Apr 14 '22 22:04 markwrightdev