-
-
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
Deprecation warnings when on 4.11.4
#27265
Comments
Duplicate of #27195 |
Respectfully, we are on package.json
|
Yeah that's unfortunate. We should've pinned to minor when releasing the 4.11. release line. Make sure to pin every Material-UI package to before 4.12. |
Okay so using |
That did it! package.json
|
These deprecation errors are causing us some problems too. We have a shared Short of us releasing a new theme that forces a dependency on 4.12 (and having to update a ton of projects) how can we hide these warnings? The noise of these warnings is confusion users, especially when running tests. |
You need to also revert the lockfile changes that were included when upgrading from 4.11 to 4.12 |
Current Behavior 😯
When running my application using
4.11.4
I get the following "warnings" in my browsers console log which are actually formatted asconsole.error
Expected Behavior 🤔
There should be no console errors for deprecation warnings... EVER. That's what
console.warn
is for.Context 🔦
We are building a web application, our console log shouldn't be littered with "errors" that are actually deprecation warnings.
Your Environment 🌎
`npx @material-ui/envinfo`
The text was updated successfully, but these errors were encountered: