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

[styled-engine] Remove unecessary aliases #27779

Merged
merged 3 commits into from
Aug 17, 2021

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Aug 15, 2021

I have noticed this in #27776. The value of removing the alias is to fail sooner. I have made one commit for each removal to explain why.

@oliviertassinari oliviertassinari added the package: styled-engine Specific to @mui/styled-engine label Aug 15, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Aug 15, 2021

No bundle size changes (experimental)

Generated by 🚫 dangerJS against b900226

Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Copy link
Member

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain why it is unnecessary? It's not clear what you mean by "fail sooner". When and why is this a good thing?

docs/src/modules/utils/helpers.ts Show resolved Hide resolved
@oliviertassinari oliviertassinari merged commit 1821e6b into mui:next Aug 17, 2021
@oliviertassinari oliviertassinari deleted the remove-sc-alias branch August 17, 2021 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: styled-engine Specific to @mui/styled-engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants