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.

Version 10.8.1 release looks incompatible with 10.8.0.

See original GitHub issue

Expected behavior: Things should work.

Describe the bug: I am using MUI v5 and using a theme that is using jss in style provider. The theme uses @mui/styles which is depreciated for mui5 but was working fine. I am also using data-grid.

The recent release of 10.8.1 caused the app to break when a screen with data-grid is viewed. I spent multiple hours to find that there are different versions of jss and plugins in the yarn.lock, and 10.8.0 and 10.8.1 does not seem to go together because of replaceUrl or something.

Did some tweaking but then there was a type issue. I don’t know where the problem is and I could not find anything so I am posting it here. The problem is probably not with the package itself but a unique combination of different packages with different versions of jss and plugins.

Reproduction:

Unfortunately, I was not able to reproduce it outside of the project. May try on weekends if got time.

Versions (please complete the following information):

  • jss: 10.8.1
  • Browser [e.g. chrome, safari]: Brave
  • OS [e.g. Windows, macOS]: Windows 10 Pro, Ubuntu 20.x
  • @mui/styles: 5.0.0
  • @mui/x-data-grid-pro": “^5.0.0-beta.2” Feel free to add any additional versions which you may think are relevant to the bug.

Managing expectations:

Maintainers will not be fixing the problem you have unless they have it too, if you want it to get fixed:

  1. Submit a PR with a failing test
  2. Discuss a solution
  3. Implement it

You can also do the first step only and wait for someone else to work on a fix. Anything is much better than nothing.

I am short of time at the moment and can’t really provide anything right now, maybe I can try to reproduce on weekends if I get time.

The yarn resolutions fixed the issue for me:

"resolutions": {
    "jss": "10.8.0",
    "jss-plugin-camel-case": "10.8.0",
    "jss-plugin-default-unit": "10.8.0",
    "jss-plugin-global": "10.8.0",
    "jss-plugin-nested": "10.8.0",
    "jss-plugin-props-sort": "10.8.0",
    "jss-plugin-rule-value-function": "10.8.0",
    "jss-plugin-vendor-prefixer": "10.8.0"
  }

If someone else face the similar issue, try this.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:18
  • Comments:20 (15 by maintainers)

github_iconTop GitHub Comments

6reactions
viko16commented, Oct 20, 2021

+1

10.8.1 changed the output of nested styles, now it is can’t generate correct nested and dynamic className

That’s my case: https://codesandbox.io/s/amazing-rain-ut7q1?file=/src/App.js

5reactions
kabdelkareemcommented, Oct 20, 2021

+1 we have the same issue. it caused issues in material-ui styles

Read more comments on GitHub >

github_iconTop Results From Across the Web

ArcGIS 10.8.1 Issues Addressed List - Esri Support
BUG-000130009. ArcMap fails to select all the features of a feature class stored in a file geodatabase when using the Selection tools from...
Read more >
Jellyfin 10.8.0 has been released! - Reddit
Congratulations on the release. (Google Cast Unsupported) appears. According to my research this means that i don't have the chromecast plugin installed. https ......
Read more >
Installing OS X 10.8 on an Unsupported Mac - YouTube
In this video, we're going to install Mountain Lion ( OS X 10.8) on an unsupported Core 2 Duo MacBook. This guide applies...
Read more >
Symantec™ Messaging Gateway 10.8.0 Release Notes
Then install SMG using the ISO file. Unsupported paths to version 10.8.0. You cannot update to SMG 10.8.0 from versions earlier than 10.6.6 ......
Read more >
Common questions about version compatibility—ArcGIS Server
Accordingly, there is no release of ArcGIS Desktop that matches the version of ArcGIS Server 11.0. It's recommended that you use ArcGIS Pro...
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