You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pseudoselectors without & prefix emit malformed CSS #323
Can the prior functionality to pretend an & is there for a leading : be restored?
No. This was an explicit breaking change - one that fixed some old issues here. This matches the SASS/Less/etc behavior.
In Emotion, I had to figure out how to restore the old functionality on our side and we always include a custom "compat" plugin. If you'd be interested in reusing this, I could move this to a separate package or something.
I think I'd like to start deprecating this old behavior in Emotion soon-ish so we could ship the next major version without this plugin.
Activity
Andarist commentedon Dec 27, 2023
No. This was an explicit breaking change - one that fixed some old issues here. This matches the SASS/Less/etc behavior.
In Emotion, I had to figure out how to restore the old functionality on our side and we always include a custom "compat" plugin. If you'd be interested in reusing this, I could move this to a separate package or something.
I think I'd like to start deprecating this old behavior in Emotion soon-ish so we could ship the next major version without this plugin.
quantizor commentedon Dec 27, 2023
Got it, thanks!