Skip to content

Fix Nested Selector Hashing

Compare
Choose a tag to compare
@blakeembrey blakeembrey released this 29 Apr 07:12
· 55 commits to master since this release

Fixed

  • Fix nested selectors returning the same hash when no other styles are present
    • E.g. { color: 'red' } and { '&:first-child': { color: 'red' } } should return different hashes, otherwise it'll create some nasty edge cases for the class name getting set to { color: 'red' } unexpectedly