Skip to content
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

[styles] More permissive class name generator warning #8390

Merged
merged 1 commit into from Sep 25, 2017
Merged

[styles] More permissive class name generator warning #8390

merged 1 commit into from Sep 25, 2017

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Sep 25, 2017

Adding the warning in dev mode is challenging as you might end up in a situation where you hot reload your top component, creating a new class name generator and propagating it down the react tree. This is fine.
I'm gonna narrow the warning to the production env, where people will notice the issue. This should help, a bit.

Closes #8367

@oliviertassinari oliviertassinari changed the title [styles] More permissive class name generator [styles] More permissive class name generator warning Sep 25, 2017
@oliviertassinari oliviertassinari merged commit 50834a4 into mui:v1-beta Sep 25, 2017
@oliviertassinari oliviertassinari deleted the generator-warning branch October 4, 2017 19:28
@zannager zannager added the package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants