-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[core] Small changes investigating issues #12812
Conversation
9a8fab7
to
a4c66f5
Compare
a4c66f5
to
afbd74c
Compare
this.componentWillUpdate = componentWillUpdate; | ||
} | ||
this.componentWillReceiveProps = componentWillReceiveProps; | ||
this.componentWillReceiveProps.__suppressDeprecationWarning = true; |
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.
🤸♂️
@@ -42,7 +42,7 @@ | |||
}, | |||
"dependencies": { | |||
"@babel/runtime": "7.0.0", | |||
"recompose": "^0.29.0" | |||
"recompose": "0.28.0 - 0.30.0" |
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.
@oliviertassinari Why was this necessary?
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.
It reduces the dependency duplication in people bundles. We can change it if it's an issue.
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.
@oliviertassinari Curious. I understand that it reduces duplication if we reduce the lower bound. But adding an upper bound should potentially increase it if users pin their own version to ^0.31
, no?
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.
There is no v0.31.x version yet published on npm. If they do, we will have to evaluate the scope of the breaking changes before allowing it.
To be noted that recompose is deprecated. We can remove it in v4. Replacing recompose.pure by React.memo.
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.
Right. It's our only 0.x dependency. Still used in our docs though which makes me wonder why eslint
is not reporting that we're using implicit dependencies.
No description provided.