-
Notifications
You must be signed in to change notification settings - Fork 46.8k
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 setProps and replaceProps completely #6921
Remove setProps and replaceProps completely #6921
Conversation
878b55a
to
bbf9ef8
Compare
@koba04 updated the pull request. |
@@ -140,8 +140,7 @@ describe('ReactCompositeComponent-state', function() { | |||
); | |||
ReactDOM.render( | |||
<TestComponent stateListener={stateListener} nextColor="green" />, | |||
container, | |||
instance.peekAtCallback('setProps') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want to remove this one. This isn't actually the same as the setProps that you removed elsewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jimfb Thank you! I got it fixed!
bbf9ef8
to
dd739f8
Compare
@koba04 updated the pull request. |
Ok, this looks good, thanks @koba04! |
Thank you! |
Sorry to do this, but I'm going to revert this. Can you submit separate PRs for the changes to |
Thank you, I got it! |
setProps
andreplaceProps
are removed completely on v15.0