-
-
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
v4: issue with @types/jss #14608
Comments
Duplicate of #14297 |
@eps1lon I didn't found this issue (#14297) But, the issue is closed and I don't consider a good fix, a solution like
You said
But now, it's happening on v4, so I think we should work on it. Can't |
@VincentLanglet The current v4 release is not final. As I said that issue should be gone once v4 is stable. I agree that this solution is not optimal but we can't do anything beyond that. I think I explained it in depth why this is happening and why we can't control this behavior.
The core won't have a dependency on |
I believe the root of the issue is with the conflict between JSS v9 and JSS v10. I'm killing JSS v9 in #14560. It should help. I want to release the change in v4.0.0-alpha.2. |
@eps1lon Ok FYI, Edit : @oliviertassinari Great ! I think it'll fix everything indeed |
Using patch-package (or making a PR) is a solution with : node_modules/@material-ui/core/styles/createGenerateClassName.d.ts
node_modules/@material-ui/core/styles/jssPreset.d.ts
node_modules/@material-ui/core/styles/withStyles.d.ts
|
@oliviertassinari I saw you merged your PR. Good job ! There was still one thing to do in order to stop using the |
|
@oliviertassinari the issue still exist, here is my package.json
|
@bouncydragon The issue is not fixed for older versions. Try |
@eps1lon will there be any issues while developing a project using material ui in alpha? |
I can't make that promise for any version. You were already using an alpha ( |
@eps1lon will there be any timeframe for the stable release of the alpha version? |
@bouncydragon I hope we can release it within a month. |
I have the error when I update to v4 for core and styles packages.
Expected Behavior 🤔
No error
Current Behavior 😯
Context 🔦
Your Environment 🌎
@material-ui/core@^4.0.0-alpha.1
and@material-ui/style@^4.0.0-alpha.1
The text was updated successfully, but these errors were encountered: