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

prevent memory leak #39

Merged
merged 1 commit into from
Apr 22, 2019
Merged

prevent memory leak #39

merged 1 commit into from
Apr 22, 2019

Conversation

haritonasty
Copy link
Contributor

@haritonasty haritonasty commented Apr 21, 2019

added throttle cancel method in componentWillUnmount()

this PR fixed issue

@renatorib renatorib merged commit ec87f43 into renatorib:master Apr 22, 2019
@renatorib
Copy link
Owner

Thanks!

@haritonasty
Copy link
Contributor Author

@renatorib can you upd version in npm?

@renatorib
Copy link
Owner

It was published as 2.0.0 within all the refac of #33

https://www.npmjs.com/package/react-sizes/v/2.0.0

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

Successfully merging this pull request may close these issues.

Warning! Can't perform react state update on unmounted component.
2 participants