Skip to content

Many Improvements

Latest
Compare
Choose a tag to compare
@brandonkal brandonkal released this 05 Aug 08:21
· 149 commits to fork since this release
bbedebe
  1. Much smaller styled runtime! No dependency on @emotion/is-prop-valid.
  2. Simple and predictable prop filtering. Props that end in "$" are not forwarded to the DOM.
  3. Modifiers! All style logic can be contained inside your CSS.
  4. Improved babel support for arrow functions. This means shorter interpolations inside our styles.
  5. Generated BEM-like modifiers. No need to name all those modifiers! Javascript logic is transformed into a CSS modifier name, all of this is stripped away after development:
  6. Tiny class names in production with optional prefix and suffix support
  7. Uses postCSS rather than stylis. This allows for a much deeper integration with your existing CSS pipeline.
  8. High resolution source maps. Even nested selectors and modifiers point to the proper line rather than the start of the template literal.
  9. Vastly improved Typescript types and support.