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

Move listener instantiation out of constructor (#139) #141

Conversation

stevenwcarter
Copy link

I suspected that the issue lay in the listener being created in the
constructor, and playing havoc with the this scope so I broke it out
into its own function and passed the necessary parameters in. This
succeeded in resolving the issue reported in #139 by removing the root
of the issue instead of covering it up with my previous PR.

I suspected that the issue lay in the listener being created in the
constructor, and playing havoc with the `this` scope so I broke it out
into its own function and passed the necessary parameters in. This
succeeded in resolving the issue reported in ReactTraining#139 by removing the root
of the issue instead of covering it up with my previous PR.
@stevenwcarter
Copy link
Author

sigh once again, I found a bug with this fix.

@stevenwcarter stevenwcarter deleted the create-listener-function branch November 21, 2019 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant