question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[styles] Outdated warning message

See original GitHub issue
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

override MuiTabs.styleOverrides.root in global theme will invoke warning message in the develop console, and can not apply to component correctly, while typescript is working fine

Expected Behavior 🤔

the style should be apply correctly

Steps to Reproduce 🕹

Steps:

  1. make global theme and add style to components.MuiTabs.root image
  2. use ThemeProvider to inject theme
  3. render Tab component and there will be an warning message in console image

Context 🔦

we need this feature to override the style in global

Your Environment 🌎

`npx @material-ui/envinfo`
   System:
    OS: Windows 10 10.0.19042
  Binaries:
    Node: 12.19.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 89.0.4389.90  <== **main browser**
    Edge: Spartan (44.19041.423.0), Chromium (89.0.774.63)
  npmPackages:
    @emotion/react: latest => 11.1.5
    @emotion/styled: latest => 11.1.5
    @material-ui/core: next => 5.0.0-alpha.28
    @material-ui/icons: ^5.0.0-alpha.23 => 5.0.0-alpha.28
    @material-ui/styled-engine:  5.0.0-alpha.25
    @material-ui/styles:  5.0.0-alpha.28
    @material-ui/system:  5.0.0-alpha.28
    @material-ui/types:  5.1.7
    @material-ui/unstyled:  5.0.0-alpha.28
    @material-ui/utils:  5.0.0-alpha.28
    @types/react: 17.0.0 => 17.0.0
    react: 17.0.1 => 17.0.1
    react-dom: 17.0.1 => 17.0.1
    typescript: ^4.1.3 => 4.2.3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bhairavee23commented, Apr 6, 2021
1reaction
oliviertassinaricommented, Mar 31, 2021

@zizizheng Ok, this sounds like a module duplication issue with your environment. I’m adding the “good first issue” label so we can process https://github.com/mui-org/material-ui/issues/25559#issuecomment-810024789 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Outdated Producer Warning - OutSystems 10 Documentation
Message: Producer '<producer>' uses outdated references. · Cause: Your current module (e.g.: MyModule) has one or more references to another ...
Read more >
50 Fashion Trends That We Hope Never Come Back in Style
Check out 50 outdated fashion trends we hope never come back in style, from low rise jeans to belly chains.
Read more >
How do I disable spigot outdated message? | SpigotMC
When developing, and I need to rerun spigot every a couple of seconds to test something, this is very annoying, A build comes...
Read more >
5 Outdated Trends and What to Wear Instead - PureWow
Here are five fashion trends we're already saying goodbye to in 2022—and what to wear instead.
Read more >
Browserslist: caniuse-lite is outdated · Issue #1184 - GitHub
The problem is not a warning, but an outdated database. By hiding warning you keep the origin ... @zdimaz solution is in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found