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

fix: cleanly removing event listeners in useWindowDimensions #8866

Merged

Conversation

martinheidegger
Copy link
Contributor

This PR fixes the useWindowDimensions hook by making sure that the event listener is properly removed.

@netlify
Copy link

netlify bot commented Sep 18, 2020

Deploy preview for react-navigation-example ready!

Built with commit b7f2486

https://deploy-preview-8866--react-navigation-example.netlify.app

Copy link
Member

@satya164 satya164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@satya164 satya164 changed the title fix: Cleanly removing event listeners in useWindowDimensions fix: cleanly removing event listeners in useWindowDimensions Sep 21, 2020
@satya164 satya164 merged commit dcbfe52 into react-navigation:main Sep 21, 2020
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