-
-
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
[system] Remove prefix #44921
Comments
I believe nothing to do on our side since the prefixer is used internally by Emotion. There is a PR to remove it in Emotion v12. User can opt-out from prefixer in v6 by provide a custom |
@siriwatknp It's a breaking change for emotion, it might take some time before they make the change. In any cases, we have to also remove this because we tell people in our docs to add the prefixer. Now, if it's not a breaking change for us and we have to do work anyway. Why not work on this now, as a quick win? |
After looking into this, we can't stop passing Today, users get a different output when using Emotion as is vs passing We'll reach out to the Emotion team to see if there's an estimated schedule for when emotion-js/emotion#3296 will land (v12) or if the changes can be backported to v11 in an opt-in way. |
Emotion doesn't have a tentative timeline for Emotion v12 just yet. They're open for ideas on how to backport the prefixer simplification to v11 in a retro-compatible way. More info: emotion-js/emotion#3314 (comment) |
Summary
As far as I know, prefixes are no longer needed for the last 12+ months. I don't know any of https://mui.com/material-ui/getting-started/supported-platforms/#browser that requires it.
Now, considering that those are pure pain from a DX perspective. e.g.

-webkit-box-pack
🤡https://mui.com/material-ui/react-button/
and bundle size. https://pkg-size.dev/stylis
I think it's time we remove them.
Now, to test whether this is true or not. If we can't do it right now, to move to v7. cc @brijeshb42
Examples
emotion-js/emotion#3296
Motivation
Stay relevant.
Search keywords: -
The text was updated successfully, but these errors were encountered: