Skip to content

[react-transition-group] Remove react-transition-group package from repo#48738

Open
atharva3333 wants to merge 1 commit into
mui:masterfrom
atharva3333:remove-rtg-package
Open

[react-transition-group] Remove react-transition-group package from repo#48738
atharva3333 wants to merge 1 commit into
mui:masterfrom
atharva3333:remove-rtg-package

Conversation

@atharva3333

Copy link
Copy Markdown
Contributor

fix #48644

Summary

This PR removes the internal dependency on react-transition-group from @mui/material.

Changes

  • Removed the react-transition-group and @types/react-transition-group dependencies from packages/mui-material/package.json.
  • Removed the internal TransitionGroupContext integration from Transition.tsx.
  • Removed the react-transition-group type declarations.
  • Removed the react-transition-group interoperability tests from Transition.test.tsx.
  • Updated pnpm-lock.yaml to reflect the dependency removal.

Testing

Verified that the following test suites pass after the changes:

  • pnpm test Transition
  • pnpm test Fade
  • pnpm test Grow
  • pnpm test Collapse
  • pnpm test Slide
  • pnpm test Zoom

@code-infra-dashboard

Copy link
Copy Markdown

Deploy preview

https://deploy-preview-48738--material-ui.netlify.app/

Bundle size

Bundle Parsed size Gzip size
@mui/material ▼-155B(-0.03%) ▼-47B(-0.03%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@mj12albert

Copy link
Copy Markdown
Member

We're not doing this until v10 FYI

@zannager zannager added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Jul 1, 2026
@zannager
zannager requested a review from mj12albert July 1, 2026 14:18
@mj12albert mj12albert added on hold There is a blocker, we need to wait. and removed scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). labels Jul 1, 2026
@ZeeshanTamboli ZeeshanTamboli changed the title [react-transition-group] Remove react-transition-group package from tepo [react-transition-group] Remove react-transition-group package from repo Jul 3, 2026
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

on hold There is a blocker, we need to wait. PR: out-of-date The pull request has merge conflicts and can't be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[react-transition-group] Remove the package from the repo

3 participants