Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Particles, router and performance #55

Open
DimaGashko opened this issue May 31, 2019 · 3 comments
Open

Particles, router and performance #55

DimaGashko opened this issue May 31, 2019 · 3 comments

Comments

@DimaGashko
Copy link

DimaGashko commented May 31, 2019

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, #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)

@htfranek
Copy link

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

@hirosciutto
Copy link

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.

@markwrightdev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants