-
Notifications
You must be signed in to change notification settings - Fork 15
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
Events are not properly cleaned up #13
Comments
I've fixed the memory leaks in Impetus here: chrisbateman/impetus#41 But the author of that lib does not seem to be active anymore.... Can you use my fork instead? Or is there an alternative library? |
According to MDN https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener passive option does not matter on removal. As for the impetus, if you have alternative suggestions let’s consider. Otherwise let’s wait for the merge. |
You're right,
|
Bottom line: it was impetus and my fork fixes it. If the author does not merge it, should I publish it to npm and we use that instead? |
Let’s wait for a month. For now you can just use github as a dep. Should ping the author periodically |
@dy In that case I need to fork both your repo and his, and use that. Not ideal tbh. |
@firasdib why don't you just temporarily use your github fork as |
@dy This is what I am doing now, but forks have a tendency to diverge... :-) |
You add events like this:
But remove them like this:
When it should be:
The text was updated successfully, but these errors were encountered: