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

autobind make react-hot fails #52

Closed
magicdawn opened this issue May 31, 2017 · 3 comments
Closed

autobind make react-hot fails #52

magicdawn opened this issue May 31, 2017 · 3 comments

Comments

@magicdawn
Copy link

error stack

Uncaught TypeError: Cannot set property handleFormSubmit of #<ActivityForm> which has only a getter
    at patchProperty (webpack:///./~/.0.4.7@react-hot-api/modules/makeAssimilatePrototype.js?:21:16)
    at eval (webpack:///./~/.0.4.7@react-hot-api/modules/makeAssimilatePrototype.js?:52:9)
    at Array.forEach (native)
    at eval (webpack:///./~/.0.4.7@react-hot-api/modules/makeAssimilatePrototype.js?:51:51)
    at Array.forEach (native)
    at reconcileWithStoredPrototypes (webpack:///./~/.0.4.7@react-hot-api/modules/makeAssimilatePrototype.js?:50:21)
    at assimilatePrototype (webpack:///./~/.0.4.7@react-hot-api/modules/makeAssimilatePrototype.js?:63:5)
    at patchReactClass (webpack:///./~/.0.4.7@react-hot-api/modules/makePatchReactClass.js?:40:5)
    at Object.makeHot (webpack:///./~/.0.4.7@react-hot-api/modules/makeMakeHot.js?:33:12)
    at makeExportsHot (webpack:///./~/.1.3.1@react-hot-loader/makeExportsHot.js?:44:26)
@magicdawn
Copy link
Author

guess the hot module need to patch the component

@magicdawn
Copy link
Author

@magicdawn
Copy link
Author

After migrate to react-hot-loader@3. Things fixed.

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

1 participant