Closed Npervic closed 2 years ago
Any thoughts on this?
It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve
BTW, why do you have "@mui/styled-engine-sc": "^5.4.1",
installed if you are using @emotion/react
? Would be best if you can create a sandbox or a repository with the reproduction
Since the issue is missing key information, and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.
Duplicates
Latest version
Current behavior 😯
Once I upgrade
@mui/lab
from 5.0.0-alpha.67 to 5.0.0-alpha68 my whole apps usage ofmakeStyles
breaks with errors such as:And
theme.x
being undefined.Expected behavior 🤔
makeStyles
should not break with@mui/lab
upgrade.Steps to reproduce 🕹
Steps:
Context 🔦
I am using version 5 but still have not migrated to emotion.
Simple example of usage:
Everything works without this upgrade.
(see "Your environment" for package version of mui & related packages)
Your environment 🌎
`npx @mui/envinfo`
``` System: OS: macOS 12.0.1 Binaries: Node: 17.4.0 - ~/.nvm/versions/node/v17.4.0/bin/node Yarn: 1.22.10 - ~/.nvm/versions/node/v14.17.0/bin/yarn npm: 8.3.1 - ~/.nvm/versions/node/v17.4.0/bin/npm Browsers: Chrome: 98.0.4758.80 Edge: Not Found Firefox: 96.0.2 Safari: 15.1 ````mui & related packages and their version`
``` "@emotion/react": "^11.5.0", "@emotion/styled": "^11.3.0", "@mui/icons-material": "^5.4.1", "@mui/lab": "^5.0.0-alpha.68", "@mui/material": "^5.4.0", "@mui/styled-engine-sc": "^5.4.1", "@mui/styles": "^5.3.0", "@mui/types": "^7.1.0", ```