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

Does not bind methods #123

Closed
christianalfoni opened this issue May 1, 2015 · 6 comments
Closed

Does not bind methods #123

christianalfoni opened this issue May 1, 2015 · 6 comments

Comments

@christianalfoni
Copy link

Hi there,

When I add a method to a component and use it in "render" the method is not bound to the component. I have to refresh browser to make that work.

When looking at bindAutoBindMethods the component.__reactAutoBindMap is always undefined.

@gaearon
Copy link
Owner

gaearon commented May 1, 2015

It's a regression. That's why we're going TDD in the upcoming rewrite..

I'll take a look what's up, thanks for reporting.

@gaearon
Copy link
Owner

gaearon commented May 1, 2015

The fix should be out as react-hot-loader@1.2.6.

@christianalfoni
Copy link
Author

👍

@mmahalwy
Copy link

I still have this problem....

@gaearon
Copy link
Owner

gaearon commented Aug 23, 2015

@mmahalwy

Can I ask you to check whether react-hot-loader@2.0.0-alpha solves this issue?
Please provide any feedback on it in this PR: #182

@stevenhauser
Copy link

For what it's worth @gaearon I had this issue and alpha-3 fixed it for me. Thanks for all the work you're doing on all of these projects!

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

No branches or pull requests

4 participants