You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.
The text was updated successfully, but these errors were encountered:
mofelee
changed the title
componentDidUpdate will override the original method, can we use createChainedFunction to link those function?
if define a Component has componentDidUpdate, the 'why-did-you-update' will not work..
May 17, 2016
but I don't know how to wrap ReactCompositeComponent 😓😓
importReactCompositeComponentfrom'react/lib/ReactCompositeComponent';const_mountComponent=ReactCompositeComponent.Mixin.mountComponent;ReactCompositeComponent.Mixin={abc: 111};// it will throw some error , but doesn't work..
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
componentDidUpdate will override the original method, can we use createChainedFunction to link those function?
https://github.com/garbles/why-did-you-update/blob/master/src/index.js#L27
componentWillUpdate's SpecPolicy:
https://github.com/facebook/react/blob/master/src%2Fisomorphic%2Fclassic%2Fclass%2FReactClass.js#L242-258
how mixin work with
SpecPolicy.DEFINE_MANY
https://github.com/facebook/react/blob/master/src%2Fisomorphic%2Fclassic%2Fclass%2FReactClass.js#L517-L519
createChainedFunction:
https://github.com/facebook/react/blob/master/src%2Fisomorphic%2Fclassic%2Fclass%2FReactClass.js#L621-L634
The text was updated successfully, but these errors were encountered: