Skip to content

@mui/[email protected] incompatible with @mui/[email protected] #44112

@Janpot

Description

@Janpot

Steps to reproduce

Originally commented on #44105, but it's a different issue

Seeing issues in mui/toolpad#4257. @mui/[email protected] is not compatible with @mui/[email protected] even though the latter declares its dependency on @mui/styled-engine as ^6.1.1. Something similar is going on with @mui/utils. The result is that package managers may update transitive dependencies according to semver and break setups.

There's a workaround described in mui/toolpad#4257 that uses package manager resolutions.

Reproductions:

  • reproduction for internal_processStyles in Stackblitz
  • reproduction for @mui/utils/getReactNodeRef in Stackblitz

Looks like it's caused by a set of breaking changes to internal APIs:

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: internal_processStyles

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions