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

Remove isMounted() call #3

Merged
merged 1 commit into from
Dec 5, 2017
Merged

Remove isMounted() call #3

merged 1 commit into from
Dec 5, 2017

Conversation

austentalbot
Copy link

what
replace calling the deprecated isMounted method with an isMounted flag which is set to true on mount and deleted on unmount

why
to get rid of all these warnings which clutter the console
screen shot 2017-12-05 at 11 03 11 am

NOTE: simplest solution picked from some conversations moreartyjs#84 (comment) & facebook/react#3417 (comment)

Copy link

@alexeits alexeits left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link

@gerad gerad left a comment

Choose a reason for hiding this comment

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

Can you also send a PR upstream?

@austentalbot
Copy link
Author

Can you also send a PR upstream?

👍

@austentalbot austentalbot merged commit f67f842 into master Dec 5, 2017
@austentalbot
Copy link
Author

moreartyjs#108

austentalbot added a commit that referenced this pull request Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants