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

Disconnect the observer when component unmounts #4

Merged
merged 1 commit into from
Oct 4, 2019

Conversation

tomisu
Copy link
Contributor

@tomisu tomisu commented Oct 4, 2019

Without this, the hooks throws an error when the component unmounts.

Without this, the hooks throws an error when the component unmounts.
@zzarcon zzarcon merged commit f0218eb into zzarcon:master Oct 4, 2019
@zzarcon
Copy link
Owner

zzarcon commented Oct 4, 2019

@tomisu nice one! Thanks for the PR 🚀

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.

None yet

2 participants