-
-
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
[Transitions] Increase minimal version of react-transition-group to 2.5.3 #14612
Conversation
Hmm I just realized that with using material-ui in my project yarn already uses 2.5.3. So the issue is something else. Anyway wouldn't hurt to update the package I think. |
998e77e
to
fd9b453
Compare
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.
@wilcoschoneveld Thanks, I have rebased on the next branch
Why force the use of the latest version? As a rule we should support the minimum version of a package (and above) that works with Material-UI. |
Depends on the package. Usually it's better to propagate patches downstream. This way people can rely on bigger packages to vet updates and just have to update a single package to get improvements for various packages. Whatever we decide on we should be consistent. The current state of having updated versions in the lockfile and earlier versions in the package.json quite dangerous. We might use features of a package introduced in |
So far, the strategy has been to only update the dependency version when we need it (new features or bug fixes) |
It might be worth adding that the fix above was applied in 2.5.1 |
Correct and 2.5.3 contains the bundle size reduction. |
I see there was just a similar discussion here: #14602 (review), so sorry for the distraction; but glad to know we're all on the same page. |
I want to update react-transition-group to version 2.5.3 because of a fix for setState while unmounting.
I don't think there are any breaking changes in the version history and I tested the documentation locally, all seems fine.