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

[core] Small changes investigating issues #12812

Merged
merged 1 commit into from
Sep 8, 2018

Conversation

oliviertassinari
Copy link
Member

No description provided.

@oliviertassinari oliviertassinari force-pushed the misc-v2 branch 2 times, most recently from 9a8fab7 to a4c66f5 Compare September 8, 2018 17:48
this.componentWillUpdate = componentWillUpdate;
}
this.componentWillReceiveProps = componentWillReceiveProps;
this.componentWillReceiveProps.__suppressDeprecationWarning = true;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤸‍♂️

marcelpanse pushed a commit to marcelpanse/material-ui that referenced this pull request Oct 2, 2018
@@ -42,7 +42,7 @@
},
"dependencies": {
"@babel/runtime": "7.0.0",
"recompose": "^0.29.0"
"recompose": "0.28.0 - 0.30.0"
Copy link
Member

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?

Copy link
Member Author

@oliviertassinari oliviertassinari Nov 26, 2018

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.

Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member

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.

@zannager zannager added the core Infrastructure work going on behind the scenes label Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants