Replies: 1 comment 5 replies
-
Could you explain what this means? At rules come first. Pseudo selectors come second. Both lists are sorted alphabetically. NOTE: I recently updated the way pseudo selectors should be sorted in #740. You've highlighted a small edge-case bug here and I should update the sorting logic here as well. Currently there is a small edge-case where different selectors might generate the same hash. I will put up a PR soon. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @nmn, @necolas,
While working on the
SWC plugin
, I found that the variable names here were mixed up with their contents on lines50-51
.stylex/packages/shared/src/convert-to-className.js
Lines 50 to 53 in 41fa0fa
Please tell me what should be first in the hash string: pseudo elements or media queries?
Thanks in advance for your answer
Beta Was this translation helpful? Give feedback.
All reactions