styled-jsx icon indicating copy to clipboard operation
styled-jsx copied to clipboard

[WIP][COMPARISON] upgrade stylis

Open huozhi opened this issue 4 years ago • 2 comments

This is a draft PR to check the effects of upgrading to latest stylist

  • [ ] Understand reason of duplicated class names generated
  • [ ] Disabling nesting

huozhi avatar Sep 06 '21 13:09 huozhi

The reason that the duplicate class name is created is that the element was added redundantly in the namespace, which is stylis middleware.

I modified this content and made a pull request to the stylis repository as follows.

https://github.com/thysultan/stylis.js/pull/282

ywroh avatar Jan 09 '22 10:01 ywroh

@ywroh looks like it's by designed (https://github.com/thysultan/stylis.js/issues/101)

huozhi avatar Jan 09 '22 12:01 huozhi